Closed Bug 1477524 Opened 6 years ago Closed 2 years ago

Update quotes and counters to work trough the flattened tree

Categories

(Core :: Layout, enhancement, P3)

enhancement

Tracking

()

RESOLVED FIXED
102 Branch
Tracking Status
firefox102 --- fixed

People

(Reporter: yusuf, Assigned: mrobinson)

References

Details

Attachments

(1 file)

To accommodate shadow DOM reliably with quotes and counters (in the context of values of content property), they need to work on the flattened tree instead of the document tree (credit -> emilio). In Bug 1463600, we are updating the quote and counter implementation to use the flattened tree. As a prerequisite to that, we need to update nsLayoutUtils::CompareTreePosition to use the flattened tree as well, which currently uses the regular tree. Not to reiterate things that are already greatly explained:

More info on why: https://github.com/w3c/csswg-drafts/issues/2679

More info on how: https://bugzilla.mozilla.org/show_bug.cgi?id=1463600#c31
Assignee: nobody → mrobinson
Status: NEW → ASSIGNED
Pushed by mrobinson@igalia.com:
https://hg.mozilla.org/integration/autoland/rev/ce66cc2cbb95
Update quotes and counters to work trough the flattened tree r=emilio
Created web-platform-tests PR https://github.com/web-platform-tests/wpt/pull/34215 for changes under testing/web-platform/tests

Backed out for causing build bustages on nsCounterManager.cpp

Backout link

Push with failures

Failure log

Flags: needinfo?(mrobinson)
Upstream PR was closed without merging
Pushed by mrobinson@igalia.com:
https://hg.mozilla.org/integration/autoland/rev/e0e15fc6dbf0
Update quotes and counters to work trough the flattened tree r=emilio
Status: ASSIGNED → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 102 Branch
Upstream PR merged by mrobinson

I have merged a new version of this change which fixes the build issue.

Flags: needinfo?(mrobinson)
Regressions: 1771791
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: