Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 394eb739891a1b38f94dc03b1b859a968240746e
https://github.com/WebKit/WebKit/commit/394eb739891a1b38f94dc03b1b859a968240746e
Author: Megan Gardner <[email protected]>
Date: 2026-01-07 (Wed, 07 Jan 2026)
Changed paths:
M Source/WebCore/rendering/RenderMenuList.cpp
Log Message:
-----------
Select element style fallback is incorrect.
https://bugs.webkit.org/show_bug.cgi?id=305023
rdar://167662316
Reviewed by Abrar Rahman Protyasha.
When refactoring RenderMenuList and HTMLSelectElement
I ran into this code that logically is incorrect.
It will never fallback to the menu style unless the index
is already zero, instead of checking to make sure that
there is an element at the zero index.
Rewriting the code to be more readable
and correct, for a cleaner refactor.
* Source/WebCore/rendering/RenderMenuList.cpp:
(RenderMenuList::itemStyle const):
Canonical link: https://commits.webkit.org/305228@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications