WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
58281
Order of 'max' and 'value' attributes of <input type=range> matters in XHTML (and one order is broken)
https://bugs.webkit.org/show_bug.cgi?id=58281
Summary
Order of 'max' and 'value' attributes of <input type=range> matters in XHTML ...
Ian 'Hixie' Hickson
Reported
2011-04-11 15:52:21 PDT
In XHTML, these result in different behaviour: <input type="range" max="100" value="10"/> <input type="range" value="10" max="100"/> There are two problems here: 1. The order of setting these attributes shouldn't matter. Even if they are set from script one after the other, the algorithms in the spec should ensure the result is the same. 2. The attributes of an element created by a parser should all be set simultaneously when the element is created, not one at a time. So there should never be a situation in which you can tell in which order the attributes were set.
Attachments
Add attachment
proposed patch, testcase, etc.
Kent Tamura
Comment 1
2011-06-16 17:34:48 PDT
I think this was fixed by
http://trac.webkit.org/changeset/89006
However, I don't understand why this happened only in XHTML :-)
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug