RESOLVED FIXED 135914
contentEditable caret is left aligned instead of centered when :before pseudoelement is used
https://bugs.webkit.org/show_bug.cgi?id=135914
Summary contentEditable caret is left aligned instead of centered when :before pseudo...
Max Vujovic
Reported 2014-08-13 16:28:24 PDT
My colleague ran into this while making a UIWebView based app. Repros in Safari Nightly. Reproduction: http://codepen.io/anon/pen/CEGim
Attachments
Alexey Proskuryakov
Comment 1 2014-08-13 19:08:21 PDT
See also: bug 20129 (which has similar symptoms, but is no longer occurring). Possibly bug 55886 too.
Radar WebKit Bug Importer
Comment 2 2015-09-15 13:22:22 PDT
Brent Fulgham
Comment 3 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.
Ryosuke Niwa
Comment 4 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.
EWS
Comment 5 2022-10-10 00:05:37 PDT
Committed 255333@main (11d258f9db32): <https://commits.webkit.org/255333@main> Reviewed commits have been landed. Closing PR #5164 and removing active labels.
Ahmad Saleem
Comment 6 2022-11-26 07:33:28 PST
*** Bug 248345 has been marked as a duplicate of this bug. ***
Note You need to log in before you can comment on or make changes to this bug.