[webkit-changes] [WebKit/WebKit] ef7734: Cherry-pick 1ffbfef4c616. rdar://problem/108758349
Antti Koivisto
noreply at github.com
Wed Oct 25 14:27:47 PDT 2023
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 <antti at apple.com>
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: 259548.746 at safari-7615.3.3.12-branch
More information about the webkit-changes
mailing list