position:relative + background-color makes caret invisible
Reported by
cyril.au...@gmail.com,
May 15 2016
|
|||||||||||
Issue descriptionUserAgent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/52.0.2729.3 Safari/537.36 Example URL: Steps to reproduce the problem: 1. https://jsfiddle.net/2bj86ezq/ 2. 3. What is the expected behavior? cursor should be visible What went wrong? cursor isn't visible when clicking inside the <a> in blue Does it occur on multiple sites: N/A Is it a problem with a plugin? N/A Did this work before? N/A Does this work in other browsers? N/A Chrome version: 52.0.2729.3 Channel: dev OS Version: 10.0 Flash Version: Shockwave Flash 22.0 r0
,
May 17 2016
yoichio@, could you check we have caret rectangle? If so, please route to Paint team. Thanks! position:relative + background-color makes caret invisible. Minimized test case: https://jsfiddle.net/ra9tLpj9/
,
May 17 2016
In CaretBase::paintCaret, we call context.fillRect(FloatRect(drawingRect), caretColor) with the value: drawingRect = (77.0000000, 8.00000000) x (1.00000000, 17.0000000) caretColor = 0xff0000ee It means CaretBase 'paints' a rectangle. Routed to the paint team.
,
May 18 2016
,
May 19 2016
This bug looks like a consequence of the child <a> element having a self-painting PaintLayer. The parent paints its cursor via BlockPainter::paintObject calling BockPainter::paintCarets, which is careful to paint children first, but any self- painting PaintLayer children paint all their phases *after* this one. Fixing this appears to require painting the caret in a special foreground phase at the end of the containing self-painting PaintLayers paint, but somehow applying any clips from above which may obscure the caret.
,
Jun 1 2016
Moving this nonessential bug to the next milestone. For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot
,
Jul 10 2016
This issue has been moved once and is lower than Pri-1. Removing the milestone. For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot
,
Jul 10 2017
This issue has been Available for over a year. If it's no longer important or seems unlikely to be fixed, please consider closing it out. If it is important, please re-triage the issue. Sorry for the inconvenience if the bug really should have been left as Available. If you change it back, also remove the "Hotlist-Recharge-Cold" label. For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot
,
Jul 10 2017
,
Jul 11
This issue has been Available for over a year. If it's no longer important or seems unlikely to be fixed, please consider closing it out. If it is important, please re-triage the issue. Sorry for the inconvenience if the bug really should have been left as Available. For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot
,
Jul 11
Still broken. |
|||||||||||
►
Sign in to add a comment |
|||||||||||
Comment 1 by nyerramilli@chromium.org
, May 16 2016Components: Blink>Editing
Labels: M-52 OS-Linux OS-Mac
Status: Untriaged (was: Unconfirmed)
8.0 MB
8.0 MB Download