Bug 135914 - contentEditable caret is left aligned instead of centered when :before pseudoelement is used
Summary: contentEditable caret is left aligned instead of centered when :before pseudo...
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: HTML Editing (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL: http://codepen.io/anon/pen/CEGim
Keywords: InRadar
Depends on:
Reported: 2014-08-13 16:28 PDT by Max Vujovic
Modified: 2015-11-30 16:53 PST (History)
6 users (show)

See Also:


Note You need to log in before you can comment on or make changes to this bug.
Description Max Vujovic 2014-08-13 16:28:24 PDT
My colleague ran into this while making a UIWebView based app. Repros in Safari Nightly.

Comment 1 Alexey Proskuryakov 2014-08-13 19:08:21 PDT
See also: bug 20129 (which has similar symptoms, but is no longer occurring). Possibly bug 55886 too.
Comment 2 Radar WebKit Bug Importer 2015-09-15 13:22:22 PDT
Comment 3 Brent Fulgham 2015-11-30 16:50:18 PST
It looks like Chrome, Firefox, and Safari all behave differently than expected. See <https://w3c.github.io/editing/contentEditable.html> We should get this behavior standardized before attempting to implement a change in behavior.
Comment 4 Ryosuke Niwa 2015-11-30 16:53:17 PST
I don't think we can ever standardize how the insertion point is rendered since its behavior is platform dependent.  Also, there is no way the editing API spec will be standardized anytime soon so I don't think we should gate fixing these bugs on the standardization effort.