[webkit-changes] [WebKit/WebKit] ec21ac: Add a preference to enable ::thumb / ::track pseud...

Tim Nguyen noreply at github.com
Sat Dec 9 08:00:54 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: ec21acd844553ba47b79865445047472b9db225b
      https://github.com/WebKit/WebKit/commit/ec21acd844553ba47b79865445047472b9db225b
  Author: Tim Nguyen <ntim at apple.com>
  Date:   2023-12-09 (Sat, 09 Dec 2023)

  Changed paths:
    M Source/WTF/Scripts/Preferences/UnifiedWebPreferences.yaml
    M Source/WebCore/css/CSSSelector.cpp
    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:
  -----------
  Add a preference to enable ::thumb / ::track pseudo-elements
https://bugs.webkit.org/show_bug.cgi?id=266136
rdar://119422878

Reviewed by Aditya Keerthi.

These can be tested out currently for <input type=checkbox switch>, but eventually the preference should extend to <input type=range> and other form controls.

* Source/WTF/Scripts/Preferences/UnifiedWebPreferences.yaml:
* Source/WebCore/css/CSSSelector.cpp:
(WebCore::CSSSelector::parsePseudoElementType):
* Source/WebCore/css/parser/CSSParserContext.cpp:
(WebCore::CSSParserContext::CSSParserContext):
(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/271806@main




More information about the webkit-changes mailing list