Closed Bug 2039325 Opened 6 months ago Closed 6 months ago

Allow style sharing across shadow roots.

Categories

(Core :: CSS Parsing and Computation, task, P3)

task

Tracking

()

RESOLVED FIXED
152 Branch
Tracking Status
firefox152 --- fixed

People

(Reporter: emilio, Assigned: emilio)

References

Details

(Keywords: ai-involved, perf-alert, Whiteboard: [sp3])

Attachments

(1 external file)

No description provided.

In TodoMVC-WebComponents, all 100 todo-item shadow roots use the same
adoptedStyleSheets=[globalStyles, itemStyles], so they share the same
Arc<CascadeData>.

This allows styles resolved in one shadow root to be shared with
corresponding elements in other shadow roots.

Status: ASSIGNED → RESOLVED
Closed: 6 months ago
Resolution: --- → FIXED
Target Milestone: --- → 152 Branch
See Also: → 2006172
Flags: needinfo?(emilio)
Flags: needinfo?(emilio)
Blocks: 2039857

(In reply to Serban Stanca [:SerbanS] from comment #3)

https://hg.mozilla.org/mozilla-central/rev/7faf45fdfae5

Perfherder has detected a browsertime performance change from push 7faf45fdfae598eadd69e71d6ac11bc61c93c2c4.

No action is required from the author; this comment is provided for informational purposes only.

Improvement Test Platform Options Absolute values [old vs new] Performance Profiles
6% speedometer3 TodoMVC-WebComponents/total (doc) macosx1500-aarch64-shippable fission webrender 9.59 ms -> 9.03 ms Before/After

Need Help or Information?

If you have any questions, please reach out to fbilt@mozilla.com. Alternatively, you can find help on Slack by joining #perf-help, and on Matrix you can find help by joining #perftest.

Details of the alert can be found in the alert summary, including links to graphs and comparisons for each of the affected tests.

Keywords: perf-alert
QA Whiteboard: [qa-triage-done-c153/b152]
Keywords: ai-involved
Whiteboard: [sp3]
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: