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

RESOLVED FIXED in Firefox 60

Status

()

enhancement
RESOLVED FIXED
a year ago
a year ago

People

(Reporter: emilio, Assigned: emilio)

Tracking

unspecified
mozilla60
Points:
---
Dependency tree / graph

Firefox Tracking Flags

(firefox60 fixed)

Details

Attachments

(1 attachment)

Comment hidden (empty)
(Assignee)

Updated

a year ago
Blocks: 1425759
No longer blocks: 1436059
Comment hidden (mozreview-request)

Comment 2

a year ago
mozreview-review
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+
(Assignee)

Comment 3

a year ago
(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 :)
Comment hidden (mozreview-request)

Comment 5

a year ago
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

Comment 6

a year ago
bugherder
https://hg.mozilla.org/mozilla-central/rev/4943df550a2d
Status: NEW → RESOLVED
Last Resolved: a year ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla60
You need to log in before you can comment on or make changes to this bug.