Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 5db5b209f44d2a5f7c58105d32b8db215e4b7603
https://github.com/WebKit/WebKit/commit/5db5b209f44d2a5f7c58105d32b8db215e4b7603
Author: Anne van Kesteren <[email protected]>
Date: 2026-02-11 (Wed, 11 Feb 2026)
Changed paths:
M
LayoutTests/imported/w3c/web-platform-tests/html/semantics/forms/the-select-element/customizable-select/selectedcontent-expected.txt
M Source/WebCore/html/HTMLSelectElement.cpp
M Source/WebCore/html/HTMLSelectElement.h
M Source/WebCore/html/HTMLSelectedContentElement.cpp
M Source/WebCore/html/HTMLSelectedContentElement.h
M Source/WebCore/html/shadow/SelectFallbackButtonElement.cpp
M Source/WebCore/html/shadow/SelectFallbackButtonElement.h
M Source/WebCore/rendering/RenderSelectFallbackButton.cpp
M Source/WebCore/rendering/RenderSelectFallbackButton.h
Log Message:
-----------
Improve performance of HTMLSelectElement::selectOption
https://bugs.webkit.org/show_bug.cgi?id=307346
Reviewed by Ryosuke Niwa.
Avoid looking up the selected option element multiple times and also
avoid traversing descendants when there are no selectedcontent elements
to be found.
Canonical link: https://commits.webkit.org/307251@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications