Bug 134176 - Can not fill the progress bar max attribut with big integers via java script.
Summary: Can not fill the progress bar max attribut with big integers via java script.
Status: REOPENED
Alias: None
Product: WebKit
Classification: Unclassified
Component: JavaScriptCore (show other bugs)
Version: 528+ (Nightly build)
Hardware: PC Linux
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-06-22 12:43 PDT by c.gogolin
Modified: 2019-05-02 16:20 PDT (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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