NEW 231578
Caret positioning in an empty contenteditable with an :after pseudo-element is misaligned when a line-height is specified
https://bugs.webkit.org/show_bug.cgi?id=231578
Summary Caret positioning in an empty contenteditable with an :after pseudo-element i...
Jordan Scales
Reported 2021-10-12 07:41:52 PDT
Created attachment 440928 [details] A minimum repro of the bug An empty <div contenteditable> with an :after pseudo-element does not place the caret in the correct place when a line-height is specified. Upon typing in the contenteditable, the caret is aligned correctly. This bug is not present when line-height is set to normal. A minimum repro has been attached. User agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/14.1 Safari/605.1.15
Attachments
A minimum repro of the bug (292 bytes, text/html)
2021-10-12 07:41 PDT, Jordan Scales
no flags
Radar WebKit Bug Importer
Comment 1 2021-10-19 07:42:17 PDT
Note You need to log in before you can comment on or make changes to this bug.