[Webkit-unassigned] [Bug 20242] On pageload, cursor position in an empty contenteditable element doesn't respect text-indent

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Oct 20 17:29:43 PDT 2011


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


Tab Atkins <tabatkins at google.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|Cursor position in empty    |On pageload, cursor
                   |editable element does not   |position in an empty
                   |respect text-indent in      |contenteditable element
                   |r35417                      |doesn't respect text-indent
           Platform|Macintosh Intel             |All
         OS/Version|Mac OS X 10.5               |All
             Status|UNCONFIRMED                 |NEW
                 CC|                            |tabatkins at google.com
     Ever Confirmed|0                           |1




--- Comment #3 from Tab Atkins <tabatkins at google.com>  2011-10-20 17:29:43 PST ---
Looks like a clearcut QoI bug.  Here's a smaller testcase:

<!DOCTYPE html>
<p style="height: 50px; border: thin solid black; text-indent: 20px;" contenteditable></p>

When the page first loads, the cursor is at the left edge of the <p>.  As soon as you type anything, even if you then delete it, the cursor jumps to 20px away from the edge, respecting the text-indent.

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