New issue
Advanced search Search tips

Issue 909791 link

Starred by 1 user

Issue metadata

Status: Available
Owner: ----
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Linux , Windows , Mac
Pri: 2
Type: Bug



Sign in to add a comment

Caret disappears in a span with style position:relative AND a background color

Reported by sylvain....@gmail.com, Nov 28

Issue description

UserAgent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/70.0.3538.110 Safari/537.36

Steps to reproduce the problem:
1. Open the test file
2. Click on the first sentence in the first paragraph: caret is blinking.
3. Move caret to the second sentence: caret disappears.

What is the expected behavior?
Caret should be displayed and blinked.

What went wrong?
The caret disappears in a SPAN with style="position:relative;background:<any color>".
No problem :
- if the P container has this two styles,
- if the SPAN has only one of these 2 css property. 

Did this work before? N/A 

Does this work in other browsers? Yes

Chrome version: 70.0.3538.110  Channel: stable
OS Version: 10.0
Flash Version: 

Same issue in 
- Chrome 71.0.3578.62 (Build officiel) beta (64 bits)
- Chrome 72.0.3624.0 (Build officiel) canary (32 bits)

Ok in Firefox 63 and Edge 17.
 
bugCaret.html
821 bytes View Download
Observed since at least Chrome 11.
Workaround CSS: "z-index:-1"

Thanks for the workaround, but it does not work since I need to have a background-color in an ancestor: the entire SPAN is hidden.
Labels: Needs-Triage-M70
Components: -Blink>Editing Blink>Editing>Selection
Status: Available (was: Unconfirmed)
Thanks for filing this issue and providing workaround!

Online demo: https://jsfiddle.net/eg5vbajL/
Cc: viswa.karala@chromium.org
Labels: Triaged-ET Target-72 FoundIn-72 M-72 FoundIn-71 FoundIn-70 OS-Linux OS-Mac
Status: Untriaged (was: Available)
Able to reproduce the issue on chrome reported version# 70.0.3538.110 and on latest chrome# 72.0.3623.0 with steps and test file provided in comment# 0. As this issue is seen from M-60(60.0.3112.0), hence considering this as Non-Regression.
Note: Leaving this issue in 'Available' status for further inputs from Development team.

Thanks!
Status: Available (was: Untriaged)
correction:

Marking it back to Available status.

Sign in to add a comment