Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
[CSS Nesting] Fix parsing of nested at-rules with CSSOM
https://bugs.webkit.org/show_bug.cgi?id=255530 rdar://107760234 Reviewed by Antti Koivisto. CSS OM insertion can "bypass" the normal stack by inserting at an arbitrarily deeply nested context. We already have isNestedContext() function to check for this, but it was not used here unfortunately. * LayoutTests/imported/w3c/web-platform-tests/css/css-nesting/cssom-expected.txt: * Source/WebCore/css/parser/CSSParserImpl.cpp: (WebCore::CSSParserImpl::consumeQualifiedRule): (WebCore::CSSParserImpl::consumeRegularRuleList): (WebCore::CSSParserImpl::consumeDeclarationListOrStyleBlockHelper): Canonical link: https://commits.webkit.org/263028@main
- Loading branch information
Showing
2 changed files
with
5 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters