[wpt-sync] Sync PR 10994 - [LayoutNG] Fix min/max sizes during layout and intrinsic passes.

RESOLVED FIXED in Firefox 62

Status

()

enhancement
P4
normal
RESOLVED FIXED
a year ago
a year ago

People

(Reporter: wptsync, Unassigned)

Tracking

unspecified
mozilla62
Points:
---

Firefox Tracking Flags

(firefox62 fixed)

Details

(Whiteboard: [wptsync downstream], )

Assignee

Description

a year ago
Sync web-platform-tests PR 10994 into mozilla-central (this bug is closed when the sync is complete).

PR: https://github.com/w3c/web-platform-tests/pull/10994
Details from upstream follow.

Ian Kilpatrick <ikilpatrick@chromium.org> wrote:
>  [LayoutNG] Fix min/max sizes during layout and intrinsic passes.
>  
>  Essentially this boils down to during min/max auto/percent/calc should be
>  treated the same, either being border+padding or infinity.
>  
>  And during layout they should be taken into account.
>  
>  I added some tests which now match FF/Edge (004,005) which LayoutNG matches, but
>  existing layout fails. The primary difference is change by passing kContent into
>  ResolveBlockLength during the ComputeBlockSizeForFragment function.
>  
>  Bug: 635619
>  Cq-Include-Trybots: master.tryserver.chromium.linux:linux_layout_tests_layout_ng
>  Change-Id: I4e0c171a0e29ea5d85a742d85df001647813c1f3
>  
>  Reviewed-on: https://chromium-review.googlesource.com/1056291
>  WPT-Export-Revision: d9bad9421781eab3763a3b973b57666fb3a61dcc
Assignee

Updated

a year ago
Component: web-platform-tests → CSS Parsing and Computation
Product: Testing → Core
Assignee

Comment 9

a year ago
Ran 2 tests
PASS   : 2

Comment 11

a year ago
Pushed by wptsync@mozilla.com:
https://hg.mozilla.org/integration/mozilla-inbound/rev/6d59c2e00ab1
[wpt PR 10994] - [LayoutNG] Fix min/max sizes during layout and intrinsic passes., a=testonly

Comment 12

a year ago
bugherder
https://hg.mozilla.org/mozilla-central/rev/6d59c2e00ab1
Status: NEW → RESOLVED
Last Resolved: a year ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla62
You need to log in before you can comment on or make changes to this bug.