[Webkit-unassigned] [Bug 145430] New: an Unreasonable Behavior

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed May 27 22:58:45 PDT 2015


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

            Bug ID: 145430
           Summary: an Unreasonable Behavior
    Classification: Unclassified
           Product: WebKit
           Version: 528+ (Nightly build)
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: HTML Editing
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: xinchao.peng at samsung.com

Test Case:
<html>
    <head>
        <title>Jasmine Spec Runner</title>      
<script>

function testchangeime()
{

    var q = document.getElementById("username").value;
    document.getElementById("username").setSelectionRange(0,q.length);
    var p = q.trim();
    document.getElementById("username").value = p;
}
</script>            
    </head>
    <body>
         <input type="text" id="username"  oninput="testchangeime()">
         </input>
    </body>
</html>

When user input "a"  "b"  "c" "d" continuously,the value of input is "abcd". 
But i think the value of input should be  "d".

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-unassigned/attachments/20150528/adac0516/attachment-0001.html>


More information about the webkit-unassigned mailing list