Open
Bug 1748239
Opened 4 years ago
Updated 7 months ago
Cursor disappears behind background of element with position:relative and background-color set
Categories
(Core :: DOM: Editor, defect)
Tracking
()
UNCONFIRMED
People
(Reporter: jameshfisher, Unassigned)
References
Details
Attachments
(1 file)
|
203 bytes,
text/html
|
Details |
User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.110 Safari/537.36
Steps to reproduce:
- Create a
contenteditableelement - Create a
<span style='position: relative; background-color: red'>inside it - Put the caret/cursor in the
<span>
(Or open the attached bug.html)
Actual results:
The caret does not appear
Expected results:
The caret appears
| Reporter | ||
Comment 1•4 years ago
|
||
| Reporter | ||
Comment 2•4 years ago
|
||
As with the same bug in Chromium, z-index: -1 is a kind of workaround, but causes other problems
Comment 3•4 years ago
|
||
The Bugbug bot thinks this bug should belong to the 'Core::DOM: Editor' component, and is moving the bug to that component. Please revert this change in case you think the bot is wrong.
Component: Untriaged → DOM: Editor
Product: Firefox → Core
Updated•4 years ago
|
Severity: -- → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•