Bug 147548

Summary: @font-face, local() and -apple-system
Product: WebKit Reporter: Arthur <nekr.fabula>
Component: CSSAssignee: Nobody <webkit-unassigned>
Status: RESOLVED WORKSFORME    
Severity: Blocker CC: mmaxfield, nekr.fabula, timothy
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: iPhone / iPad   
OS: Unspecified   
Attachments:
Description Flags
Working as expected none

Description Arthur 2015-08-02 18:09:18 PDT
I am not sure what spec says about it, but in my mind @font-face's local() function should support -apple-system keyword.
It might be something like this: @font-face { src: local(-apple-system) }, although I am not sure either if that is a correct syntax for local() function, because I never saw usage of un-quoted keywords there.

Some relevant links:

* https://twitter.com/nekrtemplar/status/627900199235682304 -- initial thread
* https://lists.w3.org/Archives/Public/www-style/2015Aug/0001.html -- message on www-style list
* https://gist.github.com/NekR/2a4e0abc7e0f591656f9 -- my snippet of usage of "composited font"
Comment 1 Myles C. Maxfield 2015-08-03 20:17:25 PDT
Created attachment 258146 [details]
Working as expected
Comment 2 Myles C. Maxfield 2015-08-03 20:18:25 PDT
Please re-open and attach with broken content if I missed what is going wrong here.
Comment 3 Arthur 2015-08-03 23:45:13 PDT
I cannot test on iOS9 device/emulator, so I asked Timothy Hatcher to test. I do not know his email to cc him here. Probably you need to ask him about broke case with local().
Comment 4 Myles C. Maxfield 2015-08-04 10:43:11 PDT
Just opened the attached content on an iOS device, and it works.