Bug 245449 - Open a color input with display:none via a label
Summary: Open a color input with display:none via a label
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: Forms (show other bugs)
Version: Safari Technology Preview
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2022-09-20 14:28 PDT by Ahmad Saleem
Modified: 2023-01-18 09:11 PST (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ahmad Saleem 2022-09-20 14:28:46 PDT
Hi Team,

This is going to be simple Blink Merge patch and align our behavior with all other browsers:

Blink Commit - https://chromium.googlesource.com/chromium/src.git/+/9447bd245501e7f1abb9b51f1420e8ef4f73c4dc

Webkit Source - https://github.com/WebKit/WebKit/blob/af43ca312063d6ce476c3eb23c3755919916001d/Source/WebCore/html/ColorInputType.cpp#L181

___

It will enable "Color Input" to be triggered similar to Chrome Canary 108 and Firefox Nightly 107.

Thanks!
Comment 1 Radar WebKit Bug Importer 2022-09-27 14:29:18 PDT
<rdar://problem/100476630>
Comment 2 Ahmad Saleem 2022-10-05 12:33:58 PDT
Unfortunately I will not able to help much in it due to lack infrastructure to support related test and UIHelper hooks would be difficult for me to look into:

PR - https://github.com/WebKit/WebKit/pull/4548

Test fails due to lack of "isChooserShown" in Webkit Test Runner.

How to make hooks for UIHelper (reference commit):

https://github.com/WebKit/WebKit/commit/f306f45ea9acd28b9c8b767f3d01e545297e7a7c

______

It compiles but only test fails and test need to be updated. Thanks!