[Webkit-unassigned] [Bug 115517] New: Selection in non-editable content gets stuck when approaching an editable node

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu May 2 08:22:38 PDT 2013


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

           Summary: Selection in non-editable content gets stuck when
                    approaching an editable node
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Unspecified
        OS/Version: Unspecified
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: HTML Editing
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: csaavedra at igalia.com


I'll attach a test case but this is a brief explanation of the bug. Say you have the following:

  <div id="test"><b>[]text.</b></div>

With [] representing the current selection. Calling window.getSelection.modify("extend", "forward", "word") twice renders:

  <div id="test"><b>[text.]</b></div>

Now, if the test div is followed by a contenteditable div, doing the same renders this instead:

  <div id="test"><b>[text].</b></div>
  <div contentEditable>Another div</div>

This is broken. Selection should work as in the first case for both.

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