RESOLVED FIXED 249893
[css-nesting] Implement parsing for relative selector
https://bugs.webkit.org/show_bug.cgi?id=249893
Summary [css-nesting] Implement parsing for relative selector
Matthieu Dubet
Reported 2022-12-26 10:25:34 PST
In a nested context, selectors can be relative selectors (the anchor being the parent). https://drafts.csswg.org/selectors-4/#typedef-relative-selector https://drafts.csswg.org/css-nesting/#placement
Attachments
Radar WebKit Bug Importer
Comment 1 2022-12-26 10:26:02 PST
Matthieu Dubet
Comment 2 2022-12-26 10:34:39 PST
EWS
Comment 3 2022-12-29 11:06:19 PST
Committed 258355@main (5f782c40ce1b): <https://commits.webkit.org/258355@main> Reviewed commits have been landed. Closing PR #8071 and removing active labels.
Fujii Hironori
Comment 4 2022-12-31 03:59:09 PST
Debug builds are reporting an assertion failure after this change. https://results.webkit.org/?suite=layout-tests&test=fast%2Fcss%2Ffont_property_normal.html Buildbot: builder Apple-Ventura-Debug-AppleSilicon-WK2-Tests build 569 https://build.webkit.org/#/builders/704/builds/569 fast/css/font_property_normal.html [ Crash ] fast/css/parsing-invalid-block-recovery.html [ Crash ] ASSERTION FAILED: scopeCombinator != CSSSelector::Subselector css/parser/CSSSelectorParser.cpp(329) : std::unique_ptr<CSSParserSelector> WebCore::CSSSelectorParser::consumeRelativeNestedSelector(WebCore::CSSParserTokenRange &)
Note You need to log in before you can comment on or make changes to this bug.