The position of the cursor when clicking on an empty element filled with the
:empty:before CSS rule ignores the CSS text-indent property. It is always drawn as if text-indent was 0. See the attached files for an example.
Created attachment 22577 [details]
Test case XML file
Created attachment 22578 [details]
Test case CSS file
Looks like a clearcut QoI bug. Here's a smaller testcase:
<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.
See also: bug 20129, bug 20242.
(In reply to comment #4)
> See also: bug 20129, bug 20242.
Latest webkit and chrome its working. Please confirm so that we can close this.
*** This bug has been marked as a duplicate of bug 20129 ***
Works as expected in Safari Version 7.0.1 (9537.73.11)