Bug 140636 - CSS pseudo element first-letter on content-editable:true div causes errors
Summary: CSS pseudo element first-letter on content-editable:true div causes errors
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: CSS (show other bugs)
Version: 528+ (Nightly build)
Hardware: All All
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2015-01-19 12:38 PST by dan
Modified: 2022-07-14 13:38 PDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description dan 2015-01-19 12:38:11 PST
Using the first-letter pseudo element inside a content-editable: true div or other tag causes input errors such as overtyping (replacing current letter) and/or typing in the wrong text position. Sometimes it is required to use the arrow keys to navigate within the editable text before the errors occur. A sample webpage is available at the following link:

http://jsfiddle.net/danthewolfe/0L5L6t6y/
Comment 1 Brent Fulgham 2022-07-14 13:38:45 PDT
This test case still behaves strangely in Safari 15.5+.
Comment 2 Radar WebKit Bug Importer 2022-07-14 13:38:55 PDT
<rdar://problem/97032550>