Bug 213501

Summary: contentEditable: Text caret is invisible on position relative elements
Product: WebKit Reporter: Nikita Vasilyev <nvasilyev>
Component: HTML EditingAssignee: Nobody <webkit-unassigned>
Status: NEW    
Severity: Normal CC: ahmad.saleem792, jameshfisher, joone, megan_gardner, rniwa, scalesjordan, simon.fraser, webkit-bug-importer, wenson_hsieh, zalan
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Bug Depends on:    
Bug Blocks: 216095    
Attachments:
Description Flags
Reduction none

Nikita Vasilyev
Reported 2020-06-22 22:37:39 PDT
Created attachment 402536 [details] Reduction Steps: 1. Open the attached reduction HTML 2. Click on "editable" on the first line Expected: Text caret is visible. Actual: Text caret isn't visible. Works well on the second line.
Attachments
Reduction (459 bytes, text/html)
2020-06-22 22:37 PDT, Nikita Vasilyev
no flags
Radar WebKit Bug Importer
Comment 1 2020-06-22 22:38:40 PDT
Nikita Vasilyev
Comment 2 2020-06-22 22:39:41 PDT
This doesn't work in Chrome either but works well in Firefox.
James Fisher
Comment 3 2022-01-03 06:58:53 PST
Can reproduce in Safari 15.1. Corresponding Chromium bug: https://bugs.chromium.org/p/chromium/issues/detail?id=806904 Note, Nikita says this "works well in Firefox", but it does not for me: the exact same bug exists in Firefox 95 on macOS, [filed here](https://bugzilla.mozilla.org/show_bug.cgi?id=1748239). (It seems Gecko and Webkit both implemented the caret in the same buggy way ...)
Ahmad Saleem
Comment 4 2022-06-01 06:15:42 PDT
This bug is still reproducible in Safari 15.5 and all other browsers have this broken behaviour. Thanks!
Note You need to log in before you can comment on or make changes to this bug.