Closed Bug 2042063 Opened 1 month ago Closed 27 days ago

Implement sibling-count() and sibling-index() behind pref

Categories

(Core :: CSS Parsing and Computation, enhancement)

enhancement

Tracking

()

RESOLVED FIXED
153 Branch
Tracking Status
firefox153 --- fixed

People

(Reporter: sajidanwar, Assigned: sajidanwar)

References

(Blocks 2 open bugs)

Details

(Keywords: dev-doc-complete)

Attachments

(4 files, 2 obsolete files)

Tentative name is layout.css.tree-counting-functions.enabled. This bug will be for the primary implementation, with some follow ups to be made later (enabling/removing pref; probably caching-related things I'm out of my depth on; etc.).

Assignee: nobody → sajidanwar94
Status: NEW → ASSIGNED

Adding the dev-doc-needed flag, because once this basic imlementation lands, this should probably be documented at https://developer.mozilla.org/en-US/docs/Mozilla/Firefox/Experimental_features.

Sebastian

Keywords: dev-doc-needed
Attachment #9590032 - Attachment is obsolete: true
Attachment #9590030 - Attachment is obsolete: true
Attachment #9590031 - Attachment description: Bug 2042063 - Part 2: Implement sibling-count() and sibling-index() behind pref. r=#style → Bug 2042063 - Part 1: Implement sibling-count() and sibling-index() behind pref. r=#style
Attachment #9591920 - Attachment description: Bug 2042063 - Part 3: Invalidate elements with tree-counting functions on sibling insertion/removal. r=#style → Bug 2042063 - Part 2: Invalidate elements with tree-counting functions on sibling insertion/removal. r=#style
Attachment #9590033 - Attachment description: Bug 2042063 - Part 4: Properly handle sibling-count() and sibling-index() across shadow tree boundaries. r=#style → Bug 2042063 - Part 3: Properly handle sibling-count() and sibling-index() across shadow tree boundaries. r=#style
Attachment #9590034 - Attachment description: Bug 2042063 - Part 5: Disallow sibling-count() and sibling-index() in various at-rules/descriptors. r=#style → Bug 2042063 - Part 4: Disallow sibling-count() and sibling-index() in various at-rules/descriptors. r=#style
Blocks: 2044207
Pushed by dshin@mozilla.com: https://github.com/mozilla-firefox/firefox/commit/40dbbe3f817c https://hg.mozilla.org/integration/autoland/rev/e673d9a059a5 Part 1: Implement sibling-count() and sibling-index() behind pref. r=firefox-style-system-reviewers,emilio https://github.com/mozilla-firefox/firefox/commit/814d1cc7f87a https://hg.mozilla.org/integration/autoland/rev/c998e317e0cc Part 2: Invalidate elements with tree-counting functions on sibling insertion/removal. r=firefox-style-system-reviewers,emilio https://github.com/mozilla-firefox/firefox/commit/049cdf7533b0 https://hg.mozilla.org/integration/autoland/rev/51275b2ebfb0 Part 3: Properly handle sibling-count() and sibling-index() across shadow tree boundaries. r=firefox-style-system-reviewers,dshin,emilio https://github.com/mozilla-firefox/firefox/commit/9902e978166e https://hg.mozilla.org/integration/autoland/rev/9f53ac4d8c91 Part 4: Disallow sibling-count() and sibling-index() in various at-rules/descriptors. r=firefox-style-system-reviewers,emilio

Created web-platform-tests PR https://github.com/web-platform-tests/wpt/pull/60470 for changes under testing/web-platform/tests

Blocks: 2045138
Blocks: 2045140
Blocks: 2045705

Upstream PR merged by moz-wptsync-bot

QA Whiteboard: [qa-triage-done-c154/b153]

Related pull requests

You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: