NEW 26442
[:first-letter ][contenteditable] Typing at the end of an contenteditable element having a :first-letter style applied on it only replaces the last character in the element
https://bugs.webkit.org/show_bug.cgi?id=26442
Summary [:first-letter ][contenteditable] Typing at the end of an contenteditable ele...
Dan POPA
Reported 2009-06-16 06:27:00 PDT
Typing at the end of an contenteditable element having a :first-letter style applied on it only replaces the last character in the element. <style> .someclass:first-letter { font-weight: bold; } </style> <div class="someclass" contenteditable="true">Some text</div> Click at the end of the DIV and start typing. Actual result: the last character from the DIV is replaced with the typed character.
Attachments
Testcase showing described behavior (847 bytes, text/html)
2009-06-16 06:27 PDT, Dan POPA
no flags
Dan POPA
Comment 1 2009-06-16 06:27:46 PDT
Created attachment 31346 [details] Testcase showing described behavior
thaddee6yann
Comment 2 2009-09-29 12:21:07 PDT
Another linked misbehaviour: Typing a space at the end of the very same editable region duplicates the text.
mitz
Comment 3 2010-10-06 16:55:09 PDT
*** Bug 41514 has been marked as a duplicate of this bug. ***
Ronald Jaimes
Comment 4 2011-10-19 14:50:33 PDT
the same bug occurs in Windows
Note You need to log in before you can comment on or make changes to this bug.