Bug 134176

Summary: Can not fill the progress bar max attribut with big integers via java script.
Product: WebKit Reporter: c.gogolin
Component: JavaScriptCoreAssignee: Nobody <webkit-unassigned>
Status: REOPENED ---    
Severity: Normal CC: ap, c.gogolin, hppyromz
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: PC   
OS: Linux   

Description c.gogolin 2014-06-22 12:43:37 PDT
Hello,

I have a problem with the progress bar and webkit.

The follow coding demonstrates  the problem: (in firefox works as expected).

<!DOCTYPE html>
<html>
<body>
<input type="range" min="1000000000" max="100000000000" id="i" 
value="50000000000" oninput="o.value = i.value; p.max=new String(i.value) ">
<output id="o" >50000000000</output>
<progress id="p" min="0" max="100000000000" value="5000000000" >
</body>
</html>


The chromium DOM analyser displays the reason:

The attribute "max" does not contain e.g. "4840250000" but " 4.84025e+1"

Can you confirm this problem as bug?

regards

Clemens Gogolin
Comment 1 Alexey Proskuryakov 2014-06-22 23:39:57 PDT
This test case looks the same to me in Firefox and in Safari 7.0.4 (and in a recent WebKit build too). 

Sounds like a Chromium only problem. Please report it to Google, who have forked WebKit and use a different code base now.
Comment 2 c.gogolin 2014-06-23 02:40:11 PDT
the same problem exists also with the gnome web browser (Epiphany).

regards 

Clemens Gogolin