[Webkit-unassigned] [Bug 71771] New: Inserting empty html moves caret

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Nov 7 23:27:23 PST 2011


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

           Summary: Inserting empty html moves caret
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Unspecified
        OS/Version: Unspecified
            Status: NEW
          Keywords: InChromiumBugs
          Severity: Normal
          Priority: P2
         Component: HTML Editing
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: rniwa at webkit.org


Reduction:
<button id="button">Click on the text below, place your cursor somewhere in the middle of the text and press me</button><div id="content">testtesttesttesttesttesttesttest</div>
<script>
    document.getElementById("content").contentEditable = true;
    document.getElementById("button").onclick = function(){
        document.execCommand('InsertHTML', false, "");
    };
</script>

http://crbug.com/97999

-- 
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