[wpt-sync] Sync PR 31264 - Update DCHECK for <= 1px tall fragmentainers in legacy write-back.
Categories
(Core :: Layout, task, P4)
Tracking
()
Tracking | Status | |
---|---|---|
firefox95 | --- | fixed |
People
(Reporter: mozilla.org, Unassigned)
References
()
Details
(Whiteboard: [wptsync downstream])
Sync web-platform-tests PR 31264 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/31264
Details from upstream follow.
Morten Stenshorne <mstensho@chromium.org> wrote:
Update DCHECK for <= 1px tall fragmentainers in legacy write-back.
If block_size was zero, we'd pass the DCHECK, but we should check for
any block_size \<= 1px, since we don't only clamp for 0, but for any
values less than 1px. This code is in
NGBlockNode::PlaceChildrenInFlowThread(), and we'll clamp depending on
whether we have overflow or not. Some fragmentainers may have overflow,
while others may not.This fixes external/wpt/css/css-paint-api/column-count-crash.https.html
when LayoutNGBlockFragmentation is enabled. Added two more crash tests
(the first one turned out to be an over-simplification, so I added
another one).Bug: 829028
Change-Id: I19987f4b33df832d0298bfda81aadd1ea3ed557f
Reviewed-on: https://chromium-review.googlesource.com/3226101
WPT-Export-Revision: a6169d189cfe01b3ec86e35cb51500eb8d8575e4
Assignee | ||
Updated•3 years ago
|
Assignee | ||
Comment 1•3 years ago
|
||
Pushed to try (stability) https://treeherder.mozilla.org/#/jobs?repo=try&revision=7b60fd8b83daaa649fd3af062f46dc475c5e0234
Assignee | ||
Comment 2•3 years ago
|
||
CI Results
Ran 11 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI
Total 2 tests
Status Summary
Firefox
PASS: 2
Chrome
PASS: 2
Safari
PASS: 2
Links
Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/ee8ccdac95d9 [wpt PR 31264] - Update DCHECK for <= 1px tall fragmentainers in legacy write-back., a=testonly
Comment 4•3 years ago
|
||
bugherder |
Description
•