Bug 138426 - Underline looks offset on italic text
Summary: Underline looks offset on italic text
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: Layout and Rendering (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Myles C. Maxfield
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2014-11-05 08:55 PST by Simon Fraser (smfr)
Modified: 2015-01-06 16:21 PST (History)
4 users (show)

See Also:


Attachments
Screenshot (18.88 KB, image/png)
2014-11-05 08:55 PST, Simon Fraser (smfr)
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Simon Fraser (smfr) 2014-11-05 08:55:59 PST
Created attachment 241030 [details]
Screenshot

The underline on the hovered nytimes.com headline "A New Day, and More G.O.P. Victories" looks offset to the right; it doesn't fully go under the A and sticks out to the right.

Style is:

font-family: nyt-cheltenham, georgia, 'times new roman', times, serif;
font-size: 56px;
font-style: italic;
font-weight: bold;
height: auto;
letter-spacing: 0.5600000023841858px;
line-height: 64px;
text-align: center;
text-decoration: none;
width: auto;
word-spacing: -5.599999904632568px;
Comment 1 Radar WebKit Bug Importer 2014-11-19 09:05:19 PST
<rdar://problem/19030732>
Comment 2 Myles C. Maxfield 2014-11-19 10:38:26 PST
When calculating underline skipping locations, we don't take synthetic italics into account
Comment 3 Simon Fraser (smfr) 2014-11-19 10:56:58 PST
But this isn't about skipping, it's about the ends of the underline.
Comment 4 Myles C. Maxfield 2014-11-19 14:45:01 PST
Oh. Right.