Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 2e9b35cc8d053cf076021aa09048099b7b7e1736
      
https://github.com/WebKit/WebKit/commit/2e9b35cc8d053cf076021aa09048099b7b7e1736
  Author: Anne van Kesteren <[email protected]>
  Date:   2026-05-08 (Fri, 08 May 2026)

  Changed paths:
    M LayoutTests/fast/forms/select/optgroup-disabled-expected.txt
    M LayoutTests/fast/forms/select/optgroup-disabled.html
    A 
LayoutTests/imported/w3c/web-platform-tests/css/selectors/invalidation/option-disabled-when-ancestor-changes-expected.txt
    A 
LayoutTests/imported/w3c/web-platform-tests/css/selectors/invalidation/option-disabled-when-ancestor-changes.html
    M 
LayoutTests/imported/w3c/web-platform-tests/html/semantics/forms/the-select-element/customizable-select/option-disabled-optgroup-expected.txt
    M 
LayoutTests/imported/w3c/web-platform-tests/html/semantics/forms/the-select-element/customizable-select/option-disabled-optgroup.html
    M 
LayoutTests/imported/w3c/web-platform-tests/html/semantics/selectors/pseudo-classes/WEB_FEATURES.yml
    M 
LayoutTests/imported/w3c/web-platform-tests/html/semantics/selectors/pseudo-classes/disabled.html
    M 
LayoutTests/imported/w3c/web-platform-tests/html/semantics/selectors/pseudo-classes/w3c-import.log
    M Source/WebCore/html/HTMLOptGroupElement.cpp
    M Source/WebCore/html/HTMLOptGroupElement.h
    M Source/WebCore/html/HTMLOptionElement.cpp
    M Source/WebCore/html/HTMLOptionElement.h
    M Source/WebCore/html/HTMLSelectElement.cpp
    M Source/WebCore/html/HTMLSelectElement.h
    M Source/WebCore/html/ValidatedFormListedElement.h

  Log Message:
  -----------
  Make option and optgroup match :disabled inside disabled select
https://bugs.webkit.org/show_bug.cgi?id=313974

Reviewed by Tim Nguyen.

Align with this change to the HTML standard and corresponding test
changes:

    https://github.com/whatwg/html/pull/12205

To do pseudo-class invalidation correctly we make
ValidatedFormListedElement::setDisabledInternal protected so
HTMLSelectElement can augment it with its own logic.

Test: 
imported/w3c/web-platform-tests/css/selectors/invalidation/option-disabled-when-ancestor-changes.html

Upstream: https://github.com/web-platform-tests/wpt/pull/59747
Canonical link: https://commits.webkit.org/312890@main



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

Reply via email to