[Webkit-unassigned] [Bug 64786] New: The value of a number input form continues to increase/decrease even if we disable the input form.

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Jul 19 01:48:05 PDT 2011


https://bugs.webkit.org/show_bug.cgi?id=64786

           Summary: The value of a number input form continues to
                    increase/decrease even if we disable the input form.
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Unspecified
        OS/Version: Unspecified
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: Forms
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: haraken at google.com
                CC: tkent at chromium.org


Assume the following html:

<input type="number" id="number" value="2011" onmouseup="moseup()">
<script type="text/javascript">
function mouseup() {
    document.getElementById("number").disabled = "disabled";
    setTimeout(function() {
        document.getElementById("number").disabled = undefined;
    }, 1000);
}
</script>

Click the spin button of the number input form.

Expected behavior: The value becomes 2010.

Actual behavior: The value becomes 2010. After 1000ms, the value continues to decrease automatically as if we are still clicking the spin button. 

See also http://code.google.com/p/chromium/issues/detail?id=74960.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list