[Webkit-unassigned] [Bug 51001] New: Moving or selecting backwards by words jumps to start of contenteditable region if contenteditable=false span is encountered

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Dec 13 18:57:02 PST 2010


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

           Summary: Moving or selecting backwards by words jumps to start
                    of contenteditable region if contenteditable=false
                    span is encountered
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: PC
        OS/Version: Mac OS X 10.5
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: HTML Editing
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: kalman at chromium.org
                CC: ojan at chromium.org, rniwa at webkit.org,
                    morrita at google.com


Repro attached.

1. place cursor on right of the "here" span
2. move back by word granularity a few times (ctrl + left/backspace on linux, option + left/backspace on osx)
3. when cursor would cross "here" it actually jumps back to the start of the region

I believe this is caused by http://trac.webkit.org/changeset/64974, namely the addition of TextIteratorEndsAtEditingBoundary in visible_units.cpp (lines 115 and 150).  Reverting the change results in the failure of editing/selection/doubleclick-inline-first-last-contenteditable.html, however.

Please assign this bug to me, I will fix it :-)

P.S. there is also a bug going /forwards/ over the "here" span, but I haven't looked at what is causing it.  Could be related.

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