[wpt-sync] Sync PR 33101 - [GridFragmentation] Prevent infinite expansion.
Categories
(Core :: Layout, task, P4)
Tracking
()
Tracking | Status | |
---|---|---|
firefox100 | --- | fixed |
People
(Reporter: mozilla.org, Unassigned)
References
(Blocks 1 open bug, )
Details
(Whiteboard: [wptsync downstream])
Sync web-platform-tests PR 33101 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/33101
Details from upstream follow.
Ian Kilpatrick <ikilpatrick@chromium.org> wrote:
[GridFragmentation] Prevent infinite expansion.
We allow grid-items to expand their grid-rows under some common
conditions. This is good as it allows text to not overlap, etc.However when combined with a %-block-size descendant, we might end up
in a situation where we'll loop indefinitely trying to constantly
grow the row to the item. E.g.\<div style="display: grid;">
\<div style="min-height: 100px;">
\<div style="height: 200%; background: green;">\</div>
\</div>This patch disables this behaviour by not setting the
MinBlockSizeShouldEncompassIntrinsicSize flag for any grid item with
a %-height-descendant.Bug: 614667
Change-Id: Ie52b5fb2903259ed92ce6e5cbc5b200a94f088dcReviewed-on: https://chromium-review.googlesource.com/3508504
WPT-Export-Revision: bac990f78573ac47043ece14dd7f484907921d29
Assignee | ||
Updated•2 years ago
|
Assignee | ||
Comment 1•2 years ago
|
||
Pushed to try (stability) https://treeherder.mozilla.org/#/jobs?repo=try&revision=99b47654a62ca6830e9b5f0b71f3e95452ad4932
Assignee | ||
Comment 2•2 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
FAIL: 1
Chrome
PASS: 1
Safari
PASS: 1
Links
Details
Firefox-only Failures
/css/css-break/grid/grid-item-infinite-expansion.html: FAIL
New Tests That Don't Pass
/css/css-break/grid/grid-item-infinite-expansion.html: FAIL (Chrome: PASS, Safari: PASS)
Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/5c500bd6a5c0 [wpt PR 33101] - [GridFragmentation] Prevent infinite expansion., a=testonly https://hg.mozilla.org/integration/autoland/rev/1b1a7e1049b2 [wpt PR 33101] - Update wpt metadata, a=testonly
Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/2bf8e2424531 [wpt PR 33101] - [GridFragmentation] Prevent infinite expansion., a=testonly https://hg.mozilla.org/integration/autoland/rev/109afcc2d4c7 [wpt PR 33101] - Update wpt metadata, a=testonly
Comment 5•2 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/2bf8e2424531
https://hg.mozilla.org/mozilla-central/rev/109afcc2d4c7
Description
•