Bug 153053

Summary: [Cocoa] Font features are not applied to the system font
Product: WebKit Reporter: Myles C. Maxfield <mmaxfield>
Component: TextAssignee: Myles C. Maxfield <mmaxfield>
Status: RESOLVED FIXED    
Severity: Normal CC: commit-queue, dino, jonlee, mmaxfield, simon.fraser, thorton, webkit-bug-importer, zalan
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch
none
Patch none

Description Myles C. Maxfield 2016-01-12 19:32:32 PST
[Cocoa] Font features are not applied to the system font
Comment 1 Myles C. Maxfield 2016-01-12 19:33:18 PST
Created attachment 268846 [details]
Patch
Comment 2 Myles C. Maxfield 2016-01-12 19:42:18 PST
Created attachment 268849 [details]
Patch
Comment 3 Jon Lee 2016-01-13 11:54:19 PST
Comment on attachment 268849 [details]
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=268849&action=review

> LayoutTests/fast/text/system-font-features-expected.html:7
> +<div style="font: 50px -apple-system-monospaced-numbers;">0123456789</div>

Eventually we're going to want to remove this style. Is there another way we could write this test?
Comment 4 Jon Lee 2016-01-13 12:11:20 PST
<rdar://problem/24173613>
Comment 5 Myles C. Maxfield 2016-01-13 17:21:16 PST
Comment on attachment 268849 [details]
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=268849&action=review

>> LayoutTests/fast/text/system-font-features-expected.html:7
>> +<div style="font: 50px -apple-system-monospaced-numbers;">0123456789</div>
> 
> Eventually we're going to want to remove this style. Is there another way we could write this test?

I tried, but unfortunately it looks like I can't use -mismatch-expected results because of the system font mocking we are doing for testing. :(
Comment 6 WebKit Commit Bot 2016-01-15 14:58:59 PST
Comment on attachment 268849 [details]
Patch

Clearing flags on attachment: 268849

Committed r195150: <http://trac.webkit.org/changeset/195150>
Comment 7 WebKit Commit Bot 2016-01-15 14:59:02 PST
All reviewed patches have been landed.  Closing bug.