Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 4a32ab01949a8f4a51705642ba58755d7c742140
      
https://github.com/WebKit/WebKit/commit/4a32ab01949a8f4a51705642ba58755d7c742140
  Author: Elika Etemad <[email protected]>
  Date:   2026-10-01 (Thu, 01 Oct 2026)

  Changed paths:
    M 
LayoutTests/imported/w3c/web-platform-tests/html/semantics/forms/the-select-element/customizable-select/update.css
    M Source/WebCore/css/html.css

  Log Message:
  -----------
  appearance: base optgroup styles border appears when not needed
https://bugs.webkit.org/show_bug.cgi?id=324580
rdar://187812449

Reviewed by Tim Nguyen.

Updates the selector applying a border between optgroups to correctly
exempt the first optgroup and to correctly handle intermixed optgroup
and option elements.

* 
LayoutTests/imported/w3c/web-platform-tests/html/semantics/forms/the-select-element/customizable-select/update.css:
(select :is(optgroup, option) + optgroup,):
(select optgroup:not(:first-child),): Deleted.
* Source/WebCore/css/html.css:
(select:-internal-uses-menulist :is(optgroup, option) + optgroup,):
(select:-internal-uses-menulist optgroup:not(:first-child)): Deleted.

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



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

Reply via email to