Bug 170801 - Changing text alignment can leave artifacts on fonts that spill outside of the bounding box
Summary: Changing text alignment can leave artifacts on fonts that spill outside of th...
Status: RESOLVED DUPLICATE of bug 6274
Alias: None
Product: WebKit
Classification: Unclassified
Component: Text (show other bugs)
Version: Safari 10
Hardware: All All
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-04-12 21:08 PDT by Steve
Modified: 2017-04-14 13:55 PDT (History)
2 users (show)

See Also:


Attachments
Repro.html (1.77 KB, text/html)
2017-04-12 21:08 PDT, Steve
no flags Details
Screenshot demonstrating the artifact (1.13 MB, image/png)
2017-04-12 21:09 PDT, Steve
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Steve 2017-04-12 21:08:03 PDT
Created attachment 306968 [details]
Repro.html

It seems that the parts of a glyph that spills outside of the bounding box of an element isn't getting cleaned up when the text alignment is changed.

Steps to reproduce:
1. Open the attached Repro.html file
2. Click the Toggle Alignment button
3. Notice the artifact that remains where the bottom of the J used to be

Reproduced on the following environments:
- Safari Version 10.0.1 (11602.2.14.0.7) on a Macbook Pro
- Safari on iPad Air with iOS 9.0
- Safari on iPad Air with iOS 9.3.2
- Safari on iPad Air with iOS 10.3.2

Unable to reproduce on:
- Google Chrome Version 57.0.2987.133 (64-bit) on a Macbook Pro
- Firefox 52.0.2 (64-bit) on Macbook Pro
Comment 1 Steve 2017-04-12 21:09:41 PDT
Created attachment 306969 [details]
Screenshot demonstrating the artifact
Comment 2 Alexey Proskuryakov 2017-04-12 22:41:15 PDT
Duplicate of bug 6274?
Comment 3 Jon Lee 2017-04-14 13:55:30 PDT

*** This bug has been marked as a duplicate of bug 6274 ***