| Summary: | Input element: Fix the dirty value flag after type change | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Ahmad Saleem <ahmad.saleem792> |
| Component: | Forms | Assignee: | Nobody <webkit-unassigned> |
| Status: | NEW --- | ||
| Severity: | Normal | CC: | cdumez, karlcow, webkit-bug-importer, wenson_hsieh |
| Priority: | P2 | Keywords: | BrowserCompat, InRadar |
| Version: | Safari Technology Preview | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
|
Description
Ahmad Saleem
2023-09-02 18:28:58 PDT
Changing: m_valueIfDirty = sanitizeValue(attributeWithoutSynchronization(valueAttr)); to m_valueIfDirty = String(); ___ This fixes it the attached test case but haven't run whole LayoutTests suite so don't know about all failures. Still worth to raise 'draft' PR IMO. This might be more involved and need to take care of this bit as well: https://chromium.googlesource.com/chromium/src.git/+/676b2c3c1f5c3655e4ef2d0c6ab9d0d89c753df9 To double check if there is a WPT for it. And add one if not https://wpt.fyi/results/html/semantics/forms?label=master&label=experimental&aligned&q=safari%3Afail |