Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: cdf87a689ae0bd70eb8fb0a82a40ba79b1d8692c
https://github.com/WebKit/WebKit/commit/cdf87a689ae0bd70eb8fb0a82a40ba79b1d8692c
Author: Ahmad Saleem <[email protected]>
Date: 2026-08-06 (Thu, 06 Aug 2026)
Changed paths:
A
LayoutTests/fast/forms/color/display-none-input-color-chooser-shown-expected.txt
A LayoutTests/fast/forms/color/display-none-input-color-chooser-shown.html
M LayoutTests/platform/glib/TestExpectations
M LayoutTests/platform/win/TestExpectations
M Source/WebCore/html/ColorInputType.cpp
Log Message:
-----------
Open a color input with display:none via a label
https://bugs.webkit.org/show_bug.cgi?id=245449
rdar://100476630
Reviewed by Aditya Keerthi.
This patch aligns WebKit with Gecko / Firefox and Blink /
Chromium.
Merge:
https://flagged.apple.com:443/proxy?t2=Do4q0l7qz0&o=aHR0cHM6Ly9jaHJvbWl1bS5nb29nbGVzb3VyY2UuY29tL2Nocm9taXVtL3NyYy5naXQvKy85NDQ3YmQyNDU1MDFlN2YxYWJiOWI1MWYxNDIwZThlZjRmNzNjNGRj&emid=155a914e-9bd2-4044-85f4-d31047e39514&c=11
This patch fixes bug where the 'color' input controls should be able to
accessed via label irrespective of configured with 'display:none' (no
renderer).
Test: fast/forms/color/display-none-input-color-chooser-shown.html
*
LayoutTests/fast/forms/color/display-none-input-color-chooser-shown-expected.txt:
Added.
* LayoutTests/fast/forms/color/display-none-input-color-chooser-shown.html:
Added.
* LayoutTests/platform/glib/TestExpectations:
* LayoutTests/platform/win/TestExpectations:
* Source/WebCore/html/ColorInputType.cpp:
(WebCore::ColorInputType::handleDOMActivateEvent):
Canonical link:
https://flagged.apple.com:443/proxy?t2=Dt4r6E3vL7&o=aHR0cHM6Ly9jb21taXRzLndlYmtpdC5vcmcvMzE4NzIzQG1haW4=&emid=155a914e-9bd2-4044-85f4-d31047e39514&c=11
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications