Closed Bug 2098201 Opened 4 days ago Closed 7 hours ago

Consider adding rule cache condition for siblings using `sibling-count()`

Categories

(Core :: CSS Parsing and Computation, enhancement)

enhancement

Tracking

()

RESOLVED FIXED
163 Branch
Tracking Status
firefox163 --- fixed

People

(Reporter: dshin, Assigned: dshin, NeedInfo)

References

Details

Attachments

(1 external file)

We should be able to meaningfully share styles if we, say, insert opaque pointers to the style's parent as the rule cache condition.
Any style violating the condition would insert its own entry, so as long as there are many siblings, we should be able to take advantage of this.

Flags: needinfo?(dshin)
Assignee: nobody → dshin
Attachment #9692337 - Attachment description: WIP: Bug 2098201: Add rule cache condition for sibling-count. r=#style → Bug 2098201: Add rule cache condition for sibling-count. r=#style
Status: NEW → ASSIGNED
Pushed by dshin@mozilla.com: https://github.com/mozilla-firefox/firefox/commit/ea235d7d7abf https://hg.mozilla.org/integration/autoland/rev/3143abd67c03 Add rule cache condition for sibling-count. r=firefox-style-system-reviewers,emilio
Status: ASSIGNED → RESOLVED
Closed: 7 hours ago
Resolution: --- → FIXED
Target Milestone: --- → 163 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: