Bug 250047
Summary: | Remove the precision="float" attribute on <input type="range"> | ||
---|---|---|---|
Product: | WebKit | Reporter: | Ahmad Saleem <ahmad.saleem792> |
Component: | Forms | Assignee: | Ahmad Saleem <ahmad.saleem792> |
Status: | RESOLVED FIXED | ||
Severity: | Normal | CC: | akeerthi, cdumez, karlcow, ntim, rniwa, webkit-bug-importer, wenson_hsieh |
Priority: | P2 | Keywords: | BrowserCompat, GoodFirstBug, InRadar |
Version: | Safari Technology Preview | ||
Hardware: | Unspecified | ||
OS: | Unspecified |
Ahmad Saleem
Hi Team,
While going through Blink's commit, I came across another one which was removed from Blink in 2014 and only Safari / WebKit support it right now. (NOTE - it was never standardised).
Test Case - http://software.hixie.ch/utilities/js/live-dom-viewer/?saved=3041
^ Chrome Canary 111 & Firefox Nightly 110 log - 1.0 while Safari 16.2 log 0.5
Blink Commit - https://chromium.googlesource.com/chromium/blink/+/6b76e9c0e649bf8d4b1c6c321af513e0e0c6c1af
WebKit Source - https://searchfox.org/wubkat/source/Source/WebCore/html/RangeInputType.cpp#125 & https://searchfox.org/wubkat/source/Source/WebCore/html/HTMLAttributeNames.in#367 & https://searchfox.org/wubkat/source/Source/WebCore/html/HTMLInputElement.cpp#795
Just wanted to raise so we can track and remove this non-standard.
Thanks!
Attachments | ||
---|---|---|
Add attachment proposed patch, testcase, etc. |
Radar WebKit Bug Importer
<rdar://problem/103893662>
Tim Nguyen (:ntim)
Yeah, this seems reasonable to remove. I'd argue Safari is even producing incorrect behavior here given it's ignoring the step attribute.
Tim Nguyen (:ntim)
Pull Request: https://github.com/WebKit/WebKit/pull/8357
EWS
Committed 258625@main (06479587e171): <https://commits.webkit.org/258625@main>
Reviewed commits have been landed. Closing PR #8357 and removing active labels.