[Bug 11936] Progress element max and value IDL attributes should be float, not double

http://www.w3.org/Bugs/Public/show_bug.cgi?id=11936

--- Comment #1 from Mounir Lamouri <mounir.lamouri@gmail.com> 2011-02-01 14:06:32 UTC ---
data:text/html,<progress
value="0.42857142857142855"></progress><script>alert(document.getElementsByTagName('progress')[0].value
== '0.42857142857142855')</script>

Opera: true
Webkit: true
Specs: false

Maybe I missed something in the specs but I think 0.42857142857142855 isn't a
valid single-precision floating point number so .value can't return
0.42857142857142855.
I guess Opera and Webkit allows double-precision float for attributes (Gecko
doesn't).

So, should we change the rules for parsing a floating point number or move back
those IDL attributes to the float type?

-- 
Configure bugmail: http://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.

Received on Tuesday, 1 February 2011 14:06:34 UTC