RESOLVED CONFIGURATION CHANGED 99827
[Shadow]: improve the performance of @host @-rules
https://bugs.webkit.org/show_bug.cgi?id=99827
Summary [Shadow]: improve the performance of @host @-rules
Takashi Sakamoto
Reported 2012-10-19 03:28:15 PDT
To check whether any @host @-rules are applied to the given element, currently it is required to traverse shadow roots and to ask StyleScopeResolver about each ShadowRoot. It would be a little slow. ElementShadow (or suitable class) should have some flag to cache whether any @host @-rules is applied to shadow host or not.
Attachments
Ryosuke Niwa
Comment 1 2019-10-04 22:34:14 PDT
@host is no longer a thing.
Note You need to log in before you can comment on or make changes to this bug.