Bug 147548 - @font-face, local() and -apple-system
Summary: @font-face, local() and -apple-system
Status: RESOLVED WORKSFORME
Alias: None
Product: WebKit
Classification: Unclassified
Component: CSS (show other bugs)
Version: 528+ (Nightly build)
Hardware: iPhone / iPad Unspecified
: P2 Blocker
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-08-02 18:09 PDT by Arthur
Modified: 2015-08-04 10:43 PDT (History)
3 users (show)

See Also:


Attachments
Working as expected (531 bytes, text/html)
2015-08-03 20:17 PDT, Myles C. Maxfield
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
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.