New issue
Advanced search Search tips

Issue 808603 link

Starred by 5 users

Issue metadata

Status: Assigned
Owner:
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Linux , Mac
Pri: 3
Type: Bug



Sign in to add a comment

text-decoration-skip-ink + underline dotted = spurious skips

Project Member Reported by kainino@chromium.org, Feb 2 2018

Issue description

Chrome Version: 64.0.3282.119 ~ 66.0.3336.5
OS: macOS 10.13.3

What steps will reproduce the problem?
(1) copy/paste this test case into the omnibox:
data:text/html,<span style="text-decoration: underline dotted">ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz</span>

What is the expected result?
Only glyphs with descenders should cause the the underline to skip ink.

What happens instead?
The following glyphs cause the underline to skip even though they don't have descenders (presumably because the font descends slightly):
C G O S U o

This seems to specifically affect macOS, probably due to its default font choice (Times)?
 
skip-ink-plus-underline-dotted-Times.png
11.2 KB View Download
(It also seems to specifically affect dotted underlines, probably because they're 2 pixels tall.)
Labels: OS-Linux
Owner: schenney@chromium.org
Status: Assigned (was: Untriaged)
I thought this was a duplicate, but I can't find the other bug. In any event, it's on my agenda to fix and it is not Mac specific.

Or maybe it's not the same bug. Either way, I'll look into this one to verify.

Comment 3 Deleted

Non dotted has a problem too with brackets and curly brackets (note before and after)

Screen Shot 2018-02-08 at 2.02.28 PM.png
15.5 KB View Download
Screen Shot 2018-02-08 at 2.03.55 PM.png
14.1 KB View Download

Sign in to add a comment