Bug 245449

Summary: Open a color input with display:none via a label
Product: WebKit Reporter: Ahmad Saleem <ahmad.saleem792>
Component: FormsAssignee: Nobody <webkit-unassigned>
Status: NEW ---    
Severity: Normal CC: cdumez, webkit-bug-importer, wenson_hsieh
Priority: P2 Keywords: InRadar
Version: Safari Technology Preview   
Hardware: Unspecified   
OS: Unspecified   

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!