Bug 192259 - Ink-skipping underlines can cause entire words to by skipped over
Summary: Ink-skipping underlines can cause entire words to by skipped over
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: Text (show other bugs)
Version: Other
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-11-30 15:05 PST by Myles C. Maxfield
Modified: 2018-11-30 15:15 PST (History)
1 user (show)

See Also:


Attachments
Screenshot (4.48 KB, image/png)
2018-11-30 15:15 PST, Myles C. Maxfield
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Myles C. Maxfield 2018-11-30 15:05:07 PST
The skipping gaps are the same size as the underline thickness. The underline thickness is configurable to be as thick as the author wants it to be. Therefore, if you have a short word with a single descender and a thick underline, the entire word could be skipped.
Comment 1 Myles C. Maxfield 2018-11-30 15:06:33 PST
Perhaps the horizontal gap shouldn't be equal to stroke thickness, and should instead be proportional to font size.
Comment 2 Myles C. Maxfield 2018-11-30 15:07:19 PST
Alternatively, we could detect when this occurs on a word, and just draw a solid underline for that word.
Comment 3 Myles C. Maxfield 2018-11-30 15:15:05 PST
Created attachment 356245 [details]
Screenshot