Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 94719bb343acb2d914fa3e692e8f2d4c75bbcec2
      
https://github.com/WebKit/WebKit/commit/94719bb343acb2d914fa3e692e8f2d4c75bbcec2
  Author: Matthieu Dubet <[email protected]>
  Date:   2024-08-20 (Tue, 20 Aug 2024)

  Changed paths:
    M 
LayoutTests/imported/w3c/web-platform-tests/css/css-nesting/supports-rule.html
    M Source/WebCore/css/parser/CSSSelectorParser.cpp
    M Source/WebCore/css/parser/CSSSelectorParser.h
    M Source/WebCore/css/parser/CSSSupportsParser.cpp

  Log Message:
  -----------
  [CSS] @supports(selector(..)) only accepts complex selector
https://bugs.webkit.org/show_bug.cgi?id=277869
rdar://133555106

Reviewed by Tim Nguyen.

https://drafts.csswg.org/css-conditional-4/#typedef-supports-selector-fn

Fix to make it not contextually aware, as defined by the spec.

* 
LayoutTests/imported/w3c/web-platform-tests/css/css-nesting/supports-rule.html:
* Source/WebCore/css/parser/CSSSelectorParser.cpp:
(WebCore::CSSSelectorParser::supportsComplexSelector):
* Source/WebCore/css/parser/CSSSelectorParser.h:
* Source/WebCore/css/parser/CSSSupportsParser.cpp:
(WebCore::CSSSupportsParser::consumeSupportsSelectorFunction):

Canonical link: https://commits.webkit.org/282515@main



To unsubscribe from these emails, change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to