Bug 261072

Summary: Don't treat an empty value attribute as null on image input types
Product: WebKit Reporter: Ahmad Saleem <ahmad.saleem792>
Component: FormsAssignee: Nobody <webkit-unassigned>
Status: RESOLVED FIXED    
Severity: Normal CC: cdumez, webkit-bug-importer, wenson_hsieh
Priority: P2 Keywords: BrowserCompat, InRadar
Version: Safari Technology Preview   
Hardware: Unspecified   
OS: Unspecified   

Description Ahmad Saleem 2023-09-02 17:28:39 PDT
Hi Team,

Another potential bug fix by Blink merge.

Test Case: https://jsfiddle.net/uz017ms9/show

^ fails in Safari Technology Preview 177 while passes in Chrome Canary 118 and Firefox Nightly 118.

Blink Commit: https://chromium.googlesource.com/chromium/src.git/+/350b1fecbdea7310b122e3e83c67929fa282d754

WebKit Source: https://searchfox.org/wubkat/source/Source/WebCore/html/HTMLInputElement.cpp#941

Just wanted to raise so we can fix it.

Thanks!
Comment 1 EWS 2023-09-02 21:26:57 PDT
Committed 267592@main (e5ac3b8b98d2): <https://commits.webkit.org/267592@main>

Reviewed commits have been landed. Closing PR #17380 and removing active labels.
Comment 2 Radar WebKit Bug Importer 2023-09-02 21:27:15 PDT
<rdar://problem/114887143>