New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 604782 link

Starred by 2 users

Issue metadata

Status: Available
Owner: ----
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: ----
Pri: 3
Type: Bug



Sign in to add a comment

Selection highlight color extends well beyond block

Project Member Reported by elawrence@chromium.org, Apr 19 2016

Issue description

Version: 52.0.2712.0
OS: Windows 7

What steps will reproduce the problem?
(1) Load http://fivethirtyeight.com/features/more-democrats-are-feeling-the-bern-probably/?ex_cid=538twitter
(2) Select any text which has a superscript hyperlink embedded

What is the expected output?

Expect that highlight color tightly matches selection

What do you see instead?

Highlight color extends far beyond selected text

Please see screenshot
 
BadHighlight.png
253 KB View Download

Comment 1 by yosin@chromium.org, May 11 2016

Components: Blink>Paint
Owner: wkorman@chromium.org
Status: Assigned (was: Untriaged)
Seems to be selection painting issue... But, not sure.
The footnotes look like this:

<a class="footnote-link" data-expandable="entry-footnotes" data-footnote-id="1" href="#fn-1"><sup id="ss-1">1</sup></a>

The <sup> elements have a margin-top of -70px, which is in the site's CSS, for some reason. This
results in the bounding box of the <sup> element to be the text height plus 70px.

Firefox does not have the same selection issue as Chrome. It appears that Firefox does not include margin in the selection rect. Probably we should not either.
s/probably/perhaps/, I'm not sure.
Owner: ----
Status: Available (was: Assigned)

Comment 5 by tkent@chromium.org, Oct 12 2016

Components: -Blink>TextSelection Blink>Editing>Selection

Comment 6 by yosin@chromium.org, May 25 2017

Cc: hdodda@chromium.org yosin@chromium.org
 Issue 723766  has been merged into this issue.

Comment 7 by yosin@chromium.org, May 25 2017

Cc: -yosin@chromium.org
Components: -Blink>Paint
Paint isn't related. This is visible position canonicalization issue.
Project Member

Comment 8 by sheriffbot@chromium.org, May 25 2018

Labels: Hotlist-Recharge-Cold
Status: Untriaged (was: Available)
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

Comment 9 by yosin@chromium.org, May 28 2018

Status: Available (was: Untriaged)

Sign in to add a comment