[wpt-sync] Sync PR 29739 - [GridNG] Re-compute grid with a forced initial block-size indefinite.
Categories
(Core :: Layout: Grid, task, P4)
Tracking
()
Tracking | Status | |
---|---|---|
firefox92 | --- | fixed |
People
(Reporter: mozilla.org, Unassigned)
References
()
Details
(Whiteboard: [wptsync downstream])
Sync web-platform-tests PR 29739 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/29739
Details from upstream follow.
b'Ian Kilpatrick <ikilpatrick@chromium.org>' wrote:
[GridNG] Re-compute grid with a forced initial block-size indefinite.
Flexbox is able to force an item (the grid in this case) to have an
indefinite initial block-size. (See testcase for exact scenario).Grid will typically re-compute the grid with the final used block-size.
The current behaviour might have a grid sized at 100px, but a single
auto track sized at 0px.The complexity here is that we can't ignore indefinite initial
block-size as we need to compute the IntrinsicBlockSize correctly, as
flexbox will use this value in its algorithm.The fix is to check when we have this flag set, and if this block-size
is definite (ignoring this flag) re-compute the grid in the outer
2nd-pass.Bug: 1055258
Change-Id: I469ecc26c32ddc13a7285b8cb749eef17a317ec9Reviewed-on: https://chromium-review.googlesource.com/2994864
WPT-Export-Revision: f21240e49783702046fde96c6acea8e5099a945f
Assignee | ||
Updated•3 years ago
|
Assignee | ||
Comment 1•3 years ago
|
||
Pushed to try (stability) https://treeherder.mozilla.org/#/jobs?repo=try&revision=43b370e72baf5223998fdf9d39bbc324b6ecb21e
Assignee | ||
Comment 2•3 years ago
|
||
Pushed to try (stability) https://treeherder.mozilla.org/#/jobs?repo=try&revision=741477fc08b6cde24c416cba85ee3ca0e25a27ee
Assignee | ||
Comment 3•3 years ago
|
||
CI Results
Ran 0 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI
Total 1 tests
Status Summary
Firefox
PASS: 1
Chrome
FAIL: 1
Safari
FAIL: 1
Links
Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/502066ccee5b [wpt PR 29739] - [GridNG] Re-compute grid with a forced initial block-size indefinite., a=testonly
Comment 5•3 years ago
|
||
bugherder |
Description
•