Bug 261072 - Don't treat an empty value attribute as null on image input types
Summary: Don't treat an empty value attribute as null on image input types
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Forms (show other bugs)
Version: Safari Technology Preview
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords: BrowserCompat, InRadar
Depends on:
Blocks:
 
Reported: 2023-09-02 17:28 PDT by Ahmad Saleem
Modified: 2023-09-02 21:27 PDT (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 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>