Branch: refs/heads/safari-7615.3.3.12-branch
Home: https://github.com/WebKit/WebKit
Commit: ef77341a03033efc058b84c0af2d7f3902016c37
https://github.com/WebKit/WebKit/commit/ef77341a03033efc058b84c0af2d7f3902016c37
Author: Antti Koivisto <[email protected]>
Date: 2023-05-08 (Mon, 08 May 2023)
Changed paths:
M Source/WebCore/css/CSSGroupingRule.cpp
M Source/WebCore/css/CSSStyleSheet.cpp
M Source/WebCore/css/StyleSheetContents.cpp
M Source/WebCore/css/StyleSheetContents.h
M Source/WebCore/css/parser/CSSParserImpl.cpp
Log Message:
-----------
Cherry-pick 1ffbfef4c616. rdar://problem/108758349
Disallow caching of StyleSheetContents that uses nesting
https://bugs.webkit.org/show_bug.cgi?id=256449
rdar://108758349
Reviewed by Alan Baradlay.
Mutations to cached document may affect other stylesheets.
* Source/WebCore/css/CSSGroupingRule.cpp:
(WebCore::CSSGroupingRule::prepareChildStyleRuleForNesting):
* Source/WebCore/css/CSSStyleSheet.cpp:
(WebCore::CSSStyleSheet::prepareChildStyleRuleForNesting):
* Source/WebCore/css/StyleSheetContents.cpp:
(WebCore::StyleSheetContents::isCacheable const):
* Source/WebCore/css/StyleSheetContents.h:
* Source/WebCore/css/parser/CSSParserImpl.cpp:
(WebCore::CSSParserImpl::consumeRegularRuleList):
(WebCore::CSSParserImpl::consumeStyleRule):
Canonical link: https://commits.webkit.org/263799@main
Identifier: [email protected]
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes