[Webkit-unassigned] [Bug 231578] New: Caret positioning in an empty contenteditable with an :after pseudo-element is misaligned when a line-height is specified
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Tue Oct 12 07:41:52 PDT 2021
https://bugs.webkit.org/show_bug.cgi?id=231578
Bug ID: 231578
Summary: Caret positioning in an empty contenteditable with an
:after pseudo-element is misaligned when a line-height
is specified
Product: WebKit
Version: Safari 14
Hardware: Mac (Intel)
OS: macOS 11
Status: NEW
Severity: Normal
Priority: P2
Component: Layout and Rendering
Assignee: webkit-unassigned at lists.webkit.org
Reporter: scalesjordan at gmail.com
CC: bfulgham at webkit.org, simon.fraser at apple.com,
zalan at apple.com
Created attachment 440928
--> https://bugs.webkit.org/attachment.cgi?id=440928&action=review
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
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20211012/892bb534/attachment.htm>
More information about the webkit-unassigned
mailing list