RESOLVED WONTFIX 102669
[Shadow DOM] implement a new style resolver for shadow dom trees
https://bugs.webkit.org/show_bug.cgi?id=102669
Summary [Shadow DOM] implement a new style resolver for shadow dom trees
Takashi Sakamoto
Reported 2012-11-19 03:40:01 PST
Currently updating any styles in shadow dom trees causes full style update. However, the update doesn't affect document tree. So we should update only the affected shadow dom trees.
Attachments
WIP (88.84 KB, patch)
2012-11-19 04:00 PST, Takashi Sakamoto
no flags
WIP (91.03 KB, patch)
2012-11-21 01:31 PST, Takashi Sakamoto
no flags
WIP (91.13 KB, patch)
2012-11-21 02:48 PST, Takashi Sakamoto
no flags
Takashi Sakamoto
Comment 1 2012-11-19 04:00:53 PST
Takashi Sakamoto
Comment 2 2012-11-19 04:07:26 PST
This WIP patch contains: (1) add ShadowStyleSheetCollection and move all styles in shadow dom trees from DocumentStyleSheetCollection to ShadowStyleSheetCollection. (2) update HTMLStyleElement and StyleElement to provide treescope information for ShadowStyleSheetCollection. (3) add StyleShadowResolver and make StyleResolver to invoke the resolver. (4) use ShadowStyleSheetCollection to update RuleSets in shadow dom trees instead of all RuleSets. This WIP patch also makes document.stylesheet not to include styles in shadow dom trees.
EFL EWS Bot
Comment 3 2012-11-19 04:15:34 PST
Build Bot
Comment 4 2012-11-19 05:22:48 PST
Takashi Sakamoto
Comment 5 2012-11-21 01:31:15 PST
EFL EWS Bot
Comment 6 2012-11-21 01:50:56 PST
Takashi Sakamoto
Comment 7 2012-11-21 02:48:27 PST
Note You need to log in before you can comment on or make changes to this bug.