Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 3a999a1a45ed3cf451677c24ee47f18bd3ce7e65
      
https://github.com/WebKit/WebKit/commit/3a999a1a45ed3cf451677c24ee47f18bd3ce7e65
  Author: Elika Etemad <[email protected]>
  Date:   2026-08-25 (Tue, 25 Aug 2026)

  Changed paths:
    M 
LayoutTests/imported/w3c/web-platform-tests/html/semantics/forms/the-select-element/customizable-select/select-base-appearance-computed-style-expected.txt
    M 
LayoutTests/imported/w3c/web-platform-tests/html/semantics/forms/the-select-element/customizable-select/update.css
    M 
LayoutTests/platform/ios/imported/w3c/web-platform-tests/html/rendering/widgets/the-select-element/select-as-listbox-default-styles.tentative-expected.txt
    M Source/WebCore/css/html.css
    M Source/WebCore/style/computed/StyleComputedStyle.cpp

  Log Message:
  -----------
  Sync alignment, padding, specificity, changes for appearance: base-select 
styling
https://bugs.webkit.org/show_bug.cgi?id=321699
rdar://184843832

Reviewed by Tim Nguyen.

This ports over the following updates from the demo:
- Switching padding-block to use lh units, so it scales with line-height.
- Applying align-items: center to the select itself, so the button content
  is also centered (not just the ::picker-icon).
- Specificity clean-up by simplifying and reordering style rules.

Also switches ::picker-icon and ::checkmark rule to using the 'font' shorthand
per https://github.com/w3c/csswg-drafts/issues/14250

* 
LayoutTests/imported/w3c/web-platform-tests/html/semantics/forms/the-select-element/customizable-select/select-base-appearance-computed-style-expected.txt:
* 
LayoutTests/imported/w3c/web-platform-tests/html/semantics/forms/the-select-element/customizable-select/update.css:
(select,):
(select:hover,):
(select:active,):
(select:user-invalid):
(select::picker-icon,):
(select option,):
(select option:hover,):
(select option:active):
(select option:disabled,):
(select option::checkmark,):
(select:enabled:hover:not(:user-invalid),): Deleted.
(select:enabled:active,): Deleted.
(select option:enabled:hover,): Deleted.
(select option:enabled:active): Deleted.
* 
LayoutTests/platform/ios/imported/w3c/web-platform-tests/html/rendering/widgets/the-select-element/select-as-listbox-default-styles.tentative-expected.txt:
* Source/WebCore/css/html.css:
(select:-internal-uses-menulist):
(select:-internal-uses-menulist:hover):
(select:-internal-uses-menulist:active):
(select:-internal-uses-menulist:user-invalid):
(select::picker-icon):
(select:-internal-uses-menulist option):
(select option:hover,):
(select option:active):
(select option:disabled):
(select option::checkmark):
(@media (prefers-contrast) select option:is(:hover, :focus-visible, :active)):
(select:-internal-uses-menulist:enabled:hover:not(:user-invalid)): Deleted.
(select:-internal-uses-menulist:enabled:active): Deleted.
(select option:enabled:hover,): Deleted.
(select option:enabled:active): Deleted.
(@media (prefers-contrast) select option:enabled:is(:hover, :focus-visible, 
:active)): Deleted.
* Source/WebCore/style/computed/StyleComputedStyle.cpp:

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



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

Reply via email to