Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 3d5917256979e97640e626bebabbd1088362b23f
      
https://github.com/WebKit/WebKit/commit/3d5917256979e97640e626bebabbd1088362b23f
  Author: Tim Nguyen <[email protected]>
  Date:   2026-02-08 (Sun, 08 Feb 2026)

  Changed paths:
    M Source/WebCore/html/HTMLSelectElement.cpp

  Log Message:
  -----------
  Replace `RenderMenuList` type checks with `usesMenuList()`
https://bugs.webkit.org/show_bug.cgi?id=307226
rdar://169860596

Reviewed by Darin Adler.

We want to eventually remove `RenderMenuList`, replace the renderer type checks 
with the equivalent `usesMenuList()` DOM method.

No behavior change.

* Source/WebCore/html/HTMLSelectElement.cpp:
(WebCore::HTMLSelectElement::platformHandleKeydownEvent):
(WebCore::HTMLSelectElement::menuListDefaultEventHandler):
(WebCore::HTMLSelectElement::defaultEventHandler):
(WebCore::HTMLSelectElement::showPopup):
(WebCore::HTMLSelectElement::hostWindow const): Windows-only method for 
PopupMenuClient, which is only used for menulists.

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



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

Reply via email to