Closed Bug 1439224 Opened 3 years ago Closed 3 years ago

Stop Shadow DOM style changes from restyling the whole document and rebuilding the whole cascade data.

Categories

(Core :: CSS Parsing and Computation, enhancement)

enhancement
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla60
Tracking Status
firefox60 --- fixed

People

(Reporter: emilio, Assigned: emilio)

References

Details

Attachments

(1 file)

No description provided.
Blocks: 1425759
No longer blocks: 1436059
Comment on attachment 8951981 [details]
Bug 1439224: Make shadow root style changes not restyle the whole document.

https://reviewboard.mozilla.org/r/221230/#review227120

Recreating AuthorStyles each time shadow tree's sheet gets changed sounds pretty slow... but it isn't worse than before anyway.
Attachment #8951981 - Flags: review?(xidorn+moz) → review+
(In reply to Xidorn Quan [:xidorn] UTC+10 from comment #2)
> Comment on attachment 8951981 [details]
> Bug 1439224: Make shadow root style changes not restyle the whole document.
> 
> https://reviewboard.mozilla.org/r/221230/#review227120
> 
> Recreating AuthorStyles each time shadow tree's sheet gets changed sounds
> pretty slow... but it isn't worse than before anyway.

Yeah... Little steps :)
Pushed by ecoal95@gmail.com:
https://hg.mozilla.org/integration/autoland/rev/4943df550a2d
Make shadow root style changes not restyle the whole document. r=xidorn
https://hg.mozilla.org/mozilla-central/rev/4943df550a2d
Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla60
You need to log in before you can comment on or make changes to this bug.