Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: e71b8ba98c83ea0d254d3fbd2f8f1a5f8c8476f5
      
https://github.com/WebKit/WebKit/commit/e71b8ba98c83ea0d254d3fbd2f8f1a5f8c8476f5
  Author: Said Abou-Hallawa <[email protected]>
  Date:   2026-01-30 (Fri, 30 Jan 2026)

  Changed paths:
    M 
LayoutTests/fast/forms/appearance-base/appearance-base-checkable-basics.html
    M 
LayoutTests/fast/forms/appearance-base/appearance-base-checkable-checkmark-dynamic-expected.html
    M 
LayoutTests/fast/forms/appearance-base/appearance-base-checkable-checkmark-dynamic.html
    M 
LayoutTests/fast/forms/appearance-base/appearance-base-checkable-checkmark-initial.html
    M Source/WebCore/css/html.css

  Log Message:
  -----------
  [appearance: base] Add default `base` properties for checkbox and radio 
button in UA style sheet
https://bugs.webkit.org/show_bug.cgi?id=304092
rdar://166415728

Reviewed by Anne van Kesteren.

-internal-auto-base() can only be parsed in the UA style sheet. Adding 
conditional
properties to html.css will allow setting some of the CSS properties for 
checkbox
and radio button when they are styled with "appearance: base".

Remove all `-internal-auto-base()` properties from the existing layout tests. No
need anymore to enable `CSSInternalAutoBaseParsingEnabled` in these layout 
tests.

Specs: https://www.w3.org/TR/css-forms-1/#stylesheet-checkbox-radio

* LayoutTests/fast/forms/appearance-base/appearance-base-checkable-basics.html:
* 
LayoutTests/fast/forms/appearance-base/appearance-base-checkable-checkmark-dynamic-expected.html:
* 
LayoutTests/fast/forms/appearance-base/appearance-base-checkable-checkmark-dynamic.html:
* 
LayoutTests/fast/forms/appearance-base/appearance-base-checkable-checkmark-initial.html:
* Source/WebCore/css/html.css:
(input:is([type="radio"], [type="checkbox"])):
(input[type="radio"]):
(input[type=checkbox]:not([switch]):checked::checkmark):
(input[type=radio]:checked::checkmark):
(input:is([type=checkbox]:not([switch]), 
[type=radio]):not(:checked)::checkmark):

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



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

Reply via email to