[Webkit-unassigned] [Bug 37474] New: Using arrow keys does not always move text cursor through CSS-generated content in editable div

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Apr 12 16:29:25 PDT 2010


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

           Summary: Using arrow keys does not always move text cursor
                    through CSS-generated content in editable div
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Macintosh Intel
        OS/Version: Mac OS X 10.6
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: HTML Editing
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: nathan.whetsell at gmail.com


Created an attachment (id=53194)
 --> (https://bugs.webkit.org/attachment.cgi?id=53194)
Test document

Attached is a test HTML document with two tests related to editable divs that
enclose a span that generates content with CSS.

The first test renders the following text:

xxx before span after yyy

Placing the text cursor before the first x and pressing the right arrow key
will move the cursor to the right until it reaches the "b" in "before". If the
cursor is placed in the word "span", pressing the right arrow key will move the
cursor to the right until it reaches (the space before) the "a" in "after".
Placing the text cursor after the last y and pressing the left arrow key does
move the cursor fluidly through all text. Using [command + right arrow] or
[shift + right arrow] will move the text cursor through the CSS-generated
content. (However, when using shift the CSS content is selected as if it could
be copied, which may be a separate issue.)

The second test renders the following text:

xxx
before span after yyy

The only difference is the line break after "xxx". In this case, placing the
the text cursor before the first x and pressing the right arrow key will move
the cursor onto the next line and into "span". However, using the left arrow
key will not move the text cursor back into the previous line. Continuing to
press the right arrow key will again move the cursor to the right until it
reaches "after".

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