Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 4347abbf46a79bd958fd310b1b86df28bbb34d45
      
https://github.com/WebKit/WebKit/commit/4347abbf46a79bd958fd310b1b86df28bbb34d45
  Author: Said Abou-Hallawa <[email protected]>
  Date:   2026-02-26 (Thu, 26 Feb 2026)

  Changed paths:
    M Source/WebCore/css/CSSPseudoSelectors.json
    M Source/WebCore/css/SelectorChecker.cpp
    M Source/WebCore/css/SelectorCheckerTestFunctions.h
    M Source/WebCore/cssjit/SelectorCompiler.cpp

  Log Message:
  -----------
  s[appearance: base] Add pseudo classes for styling the <meter> element based 
on its value
https://bugs.webkit.org/show_bug.cgi?id=308763
rdar://171285120

Reviewed by Tim Nguyen.

Add the new pseudo classes :even-less-good, :sub-optimum and :optimum. These
pseduo classes will be macthed with the gauge regions of the <meter> element to
be active.

* Source/WebCore/css/CSSPseudoSelectors.json:
* Source/WebCore/css/SelectorChecker.cpp:
(WebCore::SelectorChecker::checkOne const):
* Source/WebCore/css/SelectorCheckerTestFunctions.h:
(WebCore::matchesEvenLessGoodPseudoClass):
(WebCore::matchesOptimumPseudoClass):
(WebCore::matchesSuboptimumPseudoClass):
* Source/WebCore/cssjit/SelectorCompiler.cpp:
(WebCore::SelectorCompiler::JSC_DEFINE_NOEXCEPT_JIT_OPERATION):
(WebCore::SelectorCompiler::addPseudoClassType):

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



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

Reply via email to