[webkit-changes] [WebKit/WebKit] e13808: Remove HasPseudoClassEnabled preference

Anne van Kesteren noreply at github.com
Mon Mar 18 08:19:34 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: e13808ae29cfebdb2bc36b9721a7b718dce6c0f6
      https://github.com/WebKit/WebKit/commit/e13808ae29cfebdb2bc36b9721a7b718dce6c0f6
  Author: Anne van Kesteren <annevk at annevk.nl>
  Date:   2024-03-18 (Mon, 18 Mar 2024)

  Changed paths:
    M Source/WTF/Scripts/Preferences/UnifiedWebPreferences.yaml
    M Source/WebCore/contentextensions/ContentExtensionParser.cpp
    M Source/WebCore/css/CSSPseudoSelectors.json
    M Source/WebCore/css/parser/CSSParserContext.cpp
    M Source/WebCore/css/parser/CSSParserContext.h
    M Source/WebCore/css/parser/CSSSelectorParserContext.cpp
    M Source/WebCore/css/parser/CSSSelectorParserContext.h

  Log Message:
  -----------
  Remove HasPseudoClassEnabled preference
https://bugs.webkit.org/show_bug.cgi?id=271151

Reviewed by Antti Koivisto.

It's been stable for over a year.

Potentially some more code could be cleaned up in
ContentExtensionParser given how this was added in 259068 at main, but
changes have been made there meanwhile and this might well be needed
for other CSS-related preferences in the future.

* Source/WTF/Scripts/Preferences/UnifiedWebPreferences.yaml:
* Source/WebCore/contentextensions/ContentExtensionParser.cpp:
(WebCore::ContentExtensions::isValidCSSSelector):
(WebCore::ContentExtensions::contentExtensionCSSParserContext):
* Source/WebCore/css/CSSPseudoSelectors.json:
* Source/WebCore/css/parser/CSSParserContext.cpp:
(WebCore::add):
* Source/WebCore/css/parser/CSSParserContext.h:
* Source/WebCore/css/parser/CSSSelectorParserContext.cpp:
(WebCore::CSSSelectorParserContext::CSSSelectorParserContext):
(WebCore::add):
* Source/WebCore/css/parser/CSSSelectorParserContext.h:

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



To unsubscribe from these emails, change your notification settings at https://github.com/WebKit/WebKit/settings/notifications


More information about the webkit-changes mailing list