| Summary: | @font-face, local() and -apple-system | ||||||
|---|---|---|---|---|---|---|---|
| Product: | WebKit | Reporter: | Arthur <nekr.fabula> | ||||
| Component: | CSS | Assignee: | 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: |
|
||||||
Created attachment 258146 [details]
Working as expected
Please re-open and attach with broken content if I missed what is going wrong here. 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(). Just opened the attached content on an iOS device, and it works. |
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"