[wpt-sync] Sync PR 48329 - Support for @page counters.
Categories
(Core :: Layout, task, P4)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox133 | --- | fixed |
People
(Reporter: wpt-sync, Unassigned)
References
()
Details
(Whiteboard: [wptsync downstream])
Sync web-platform-tests PR 48329 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/48329
Details from upstream follow.
Morten Stenshorne <mstensho@chromium.org> wrote:
Support for @page counters.
We need to create a deep clone of CountersAttachmentContext for each
page, since we may have to discard the page layout in some cases and
retry. Which means that we also need to roll back what was done to the
counters.Page counters are rather special, when reset, they will obscure any
counters in the document (rather than establishing a new scope). This
even happens when incrementing page counters in some cases. Update
CountersAttachmentContext to handle this.And, as always for block fragmentation, the out-of-flow layout code
needs a little special-treatment. If out-of-flow elements causes
additional pages to be created, we need to go back and reprocess all
page counters.Bug: 40529222
Change-Id: I7c9c80114191ae760eab662ea7fd345237498945
Reviewed-on: https://chromium-review.googlesource.com/5887168
WPT-Export-Revision: 63a484b1b716d1459639483eba5c9cc8e24ee997
| Assignee | ||
Updated•2 years ago
|
| Assignee | ||
Updated•2 years ago
|
| 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 7 tests
Status Summary
Firefox
FAIL: 7
Chrome
PASS: 2
FAIL: 5
Links
Details
New Tests That Don't Pass
- /css/css-page/margin-boxes/content-007-print.html [wpt.fyi]:
FAIL(Chrome:PASS) - /css/css-page/margin-boxes/content-008-print.html [wpt.fyi]:
FAIL(Chrome:FAIL) - /css/css-page/margin-boxes/content-009-print.html [wpt.fyi]:
FAIL(Chrome:FAIL) - /css/css-page/margin-boxes/content-010-print.html [wpt.fyi]:
FAIL(Chrome:FAIL) - /css/css-page/margin-boxes/content-011-print.html [wpt.fyi]:
FAIL(Chrome:FAIL) - /css/css-page/margin-boxes/content-012-print.html [wpt.fyi]:
FAIL(Chrome:FAIL) - /css/css-page/margin-boxes/content-013-print.html [wpt.fyi]:
FAIL(Chrome:PASS)
Comment 4•2 years ago
|
||
| bugherder | ||
https://hg.mozilla.org/mozilla-central/rev/6258988e568a
https://hg.mozilla.org/mozilla-central/rev/75e6410cc625
Description
•