Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: fcb96b6c9852bcd967df2ad190703790051be518
https://github.com/WebKit/WebKit/commit/fcb96b6c9852bcd967df2ad190703790051be518
Author: Antti Koivisto <[email protected]>
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
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes