Bug 204731 - [LFC][IFC] Trim trailing letter spacing.
Summary: [LFC][IFC] Trim trailing letter spacing.
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Layout and Rendering (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: zalan
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2019-12-01 12:15 PST by zalan
Modified: 2019-12-01 15:14 PST (History)
6 users (show)

See Also:


Attachments
Patch (18.91 KB, patch)
2019-12-01 12:29 PST, zalan
koivisto: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description zalan 2019-12-01 12:15:44 PST
https://drafts.csswg.org/css-text-3/#letter-spacing-property

"Because letter-spacing is not applied at the beginning or end of a line, text always fits flush with the edge of the block.
UAs therefore must not append letter spacing to the right or trailing edge of a line:"
Comment 1 Radar WebKit Bug Importer 2019-12-01 12:16:06 PST
<rdar://problem/57545763>
Comment 2 zalan 2019-12-01 12:29:54 PST
Created attachment 384579 [details]
Patch
Comment 3 zalan 2019-12-01 15:14:44 PST
Committed r252972: <https://trac.webkit.org/changeset/252972>