[wpt-sync] Sync PR 40493 - Never force a break before when we're already inside the node.
Categories
(Core :: CSS Parsing and Computation, task, P4)
Tracking
()
Tracking | Status | |
---|---|---|
firefox116 | --- | fixed |
People
(Reporter: wpt-sync, Unassigned)
References
(Depends on 1 open bug, )
Details
(Whiteboard: [wptsync downstream])
Sync web-platform-tests PR 40493 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/40493
Details from upstream follow.
Morten Stenshorne <mstensho@chromium.org> wrote:
Never force a break before when we're already inside the node.
When resuming a node after a fragmentainer break, ignore break-before
values, since we're obviously not before it anymore (since we're
inside). We used to end up in an infinite loop, until out of memory,
not making any fragmentation progress. This was caused by monolithic
content, which, when printing, may take up space on subsequent pages.
This tricked us into thinking that it was a good place to insert a
forced break before the node we were resuming, since we were not at the
beginning of the page.Bug: 1451760
Change-Id: I3c3168478f0f23035abd10597927cee47c00730c
Reviewed-on: https://chromium-review.googlesource.com/4594563
WPT-Export-Revision: 20d79d93bee6d3a3bf4177f4419a376a35c05f5b
Assignee | ||
Updated•2 years ago
|
Assignee | ||
Comment 1•2 years ago
|
||
Assignee | ||
Comment 2•2 years ago
|
||
CI Results
Ran 0 Firefox configurations based on mozilla-central, and Firefox, and Chrome on GitHub CI
Total 1 tests
Status Summary
Firefox
FAIL
: 1
Chrome
TIMEOUT
: 1
Links
Details
New Tests That Don't Pass
- /css/printing/monolithic-overflow-021-print.html [wpt.fyi]:
FAIL
(Chrome:TIMEOUT
)
Comment 4•2 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/e1650ba7c9f3
https://hg.mozilla.org/mozilla-central/rev/bb4be274612b
Description
•