RESOLVED FIXED 250047
Remove the precision="float" attribute on <input type="range">
https://bugs.webkit.org/show_bug.cgi?id=250047
Summary Remove the precision="float" attribute on <input type="range">
Ahmad Saleem
Reported 2023-01-03 14:57:55 PST
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
Radar WebKit Bug Importer
Comment 1 2023-01-04 16:48:03 PST
Tim Nguyen (:ntim)
Comment 2 2023-01-04 20:52:25 PST
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)
Comment 3 2023-01-07 13:53:58 PST
EWS
Comment 4 2023-01-07 17:11:41 PST
Committed 258625@main (06479587e171): <https://commits.webkit.org/258625@main> Reviewed commits have been landed. Closing PR #8357 and removing active labels.
Note You need to log in before you can comment on or make changes to this bug.