[webkit-changes] [WebKit/WebKit] fcb96b: Allow declaration from non-local scope in matched ...
Antti Koivisto
noreply at github.com
Thu Jul 13 06:49:34 PDT 2023
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: fcb96b6c9852bcd967df2ad190703790051be518
https://github.com/WebKit/WebKit/commit/fcb96b6c9852bcd967df2ad190703790051be518
Author: Antti Koivisto <antti at apple.com>
Date: 2023-07-13 (Thu, 13 Jul 2023)
Changed paths:
M Source/WebCore/style/ElementRuleCollector.cpp
Log Message:
-----------
Allow declaration from non-local scope in matched declarations cache
https://bugs.webkit.org/show_bug.cgi?id=259053
rdar://112011597
Reviewed by Ryosuke Niwa.
This allows caching of :host rules for example.
* Source/WebCore/style/ElementRuleCollector.cpp:
(WebCore::Style::ElementRuleCollector::addMatchedProperties):
Scopes are already included in the cache key so we can just enable this.
Canonical link: https://commits.webkit.org/266030@main
More information about the webkit-changes
mailing list