This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 25578 - Example itself is missing attribute multiple instead it is showing slider based on values field. So [...]
Summary: Example itself is missing attribute multiple instead it is showing slider bas...
Status: RESOLVED FIXED
Alias: None
Product: WHATWG
Classification: Unclassified
Component: HTML (show other bugs)
Version: unspecified
Hardware: Other other
: P3 normal
Target Milestone: Unsorted
Assignee: Ian 'Hixie' Hickson
QA Contact: contributor
URL: http://www.whatwg.org/specs/web-apps/...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-05-06 13:19 UTC by contributor
Modified: 2014-05-06 21:12 UTC (History)
3 users (show)

See Also:


Attachments

Description contributor 2014-05-06 13:19:43 UTC
Specification: http://www.whatwg.org/specs/web-apps/current-work/multipage/states-of-the-type-attribute.html
Multipage: http://www.whatwg.org/C#range-state-(type=range)
Complete: http://www.whatwg.org/c#range-state-(type=range)
Referrer: 

Comment:
Example itself is missing attribute multiple instead it is showing slider
based on values field. So is it okay to consider, perhaps more than multiple
attribute to look out for values field to render slider with two ticks. 

Posted from: 82.43.26.66
User agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/34.0.1847.116 Safari/537.36
Comment 1 Habib Virji 2014-05-06 14:16:30 UTC
One more thing related to value sanitization, if comma is used as separator how does it work for values in norwegian or swedish numeric values. How to differentiate float values and range values?
Comment 2 Ian 'Hixie' Hickson 2014-05-06 21:08:49 UTC
Values have to use decimal points when sent over the wire.

I fixed the example, that was just the result of copy-and-paste from the fake I was making to get the screenshot (I made it without multiple="", then edited the screenshot, but apparently I forgot to add the attribute in the example code!). Authors won't normally make this mistake for long since without the attribute, they won't get the right widget, so they'll catch it early.

Thanks!
Comment 3 contributor 2014-05-06 21:12:20 UTC
Checked in as WHATWG revision r8608.
Check-in comment: Fix <input type=range multiple> example
http://html5.org/tools/web-apps-tracker?from=8607&to=8608