Bug 134176
| Summary: | Can not fill the progress bar max attribut with big integers via java script. | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | c.gogolin |
| Component: | JavaScriptCore | Assignee: | Nobody <webkit-unassigned> |
| Status: | REOPENED | ||
| Severity: | Normal | CC: | ap, c.gogolin, hppyromz |
| Priority: | P2 | ||
| Version: | 528+ (Nightly build) | ||
| Hardware: | PC | ||
| OS: | Linux | ||
c.gogolin
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
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Alexey Proskuryakov
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.
c.gogolin
the same problem exists also with the gnome web browser (Epiphany).
regards
Clemens Gogolin