[wpt-sync] Sync PR 37900 - [CQ] Respect contain:style in ListItemOrdinal
Categories
(Core :: Layout, task, P4)
Tracking
()
Tracking | Status | |
---|---|---|
firefox111 | --- | fixed |
People
(Reporter: mozilla.org, Unassigned)
References
()
Details
(Whiteboard: [wptsync downstream])
Sync web-platform-tests PR 37900 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/37900
Details from upstream follow.
Anders Hartvoll Ruud <andruud@chromium.org> wrote:
[CQ] Respect contain:style in ListItemOrdinal
In e.g. a reversed list with automatic ordinals, the style recalc of
an element may cause invalidation of "previous" LayoutObjects.
If this happens during interleaved style recalc, then we may dirty
LayoutObjects that we're already done laying out.This CL addresses this by considering style containment in during
ordinal calculations in ListItemOrdinal. Instead of always considering
the enclosing list as the scope for the current counter, we now also
treat intermediate elements with contain:style as such.Fixed: 1377644
Change-Id: I7d4d9e7fd84e061a28ae40f3bae280b9d55558a0
Reviewed-on: https://chromium-review.googlesource.com/4161712
WPT-Export-Revision: aa7a6934a10642cbaf2239f4ca5307e7bf2bfc31
Assignee | ||
Updated•2 years ago
|
Assignee | ||
Updated•2 years ago
|
Assignee | ||
Updated•2 years ago
|
Assignee | ||
Comment 1•2 years ago
|
||
Assignee | ||
Comment 3•2 years ago
|
||
Comment 4•2 years ago
|
||
bugherder |
Description
•