<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.webkit.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>147548</bug_id>
          
          <creation_ts>2015-08-02 18:09:18 -0700</creation_ts>
          <short_desc>@font-face, local() and -apple-system</short_desc>
          <delta_ts>2015-08-04 10:43:40 -0700</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>CSS</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>iPhone / iPad</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>WORKSFORME</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>Blocker</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Arthur">nekr.fabula</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>mmaxfield</cc>
    
    <cc>nekr.fabula</cc>
    
    <cc>timothy</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1114129</commentid>
    <comment_count>0</comment_count>
    <who name="Arthur">nekr.fabula</who>
    <bug_when>2015-08-02 18:09:18 -0700</bug_when>
    <thetext>I am not sure what spec says about it, but in my mind @font-face&apos;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 &quot;composited font&quot;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1114496</commentid>
    <comment_count>1</comment_count>
      <attachid>258146</attachid>
    <who name="Myles C. Maxfield">mmaxfield</who>
    <bug_when>2015-08-03 20:17:25 -0700</bug_when>
    <thetext>Created attachment 258146
Working as expected</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1114497</commentid>
    <comment_count>2</comment_count>
    <who name="Myles C. Maxfield">mmaxfield</who>
    <bug_when>2015-08-03 20:18:25 -0700</bug_when>
    <thetext>Please re-open and attach with broken content if I missed what is going wrong here.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1114544</commentid>
    <comment_count>3</comment_count>
    <who name="Arthur">nekr.fabula</who>
    <bug_when>2015-08-03 23:45:13 -0700</bug_when>
    <thetext>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().</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1114641</commentid>
    <comment_count>4</comment_count>
    <who name="Myles C. Maxfield">mmaxfield</who>
    <bug_when>2015-08-04 10:43:11 -0700</bug_when>
    <thetext>Just opened the attached content on an iOS device, and it works.</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="0"
              isprivate="0"
          >
            <attachid>258146</attachid>
            <date>2015-08-03 20:17:25 -0700</date>
            <delta_ts>2015-08-03 20:17:25 -0700</delta_ts>
            <desc>Working as expected</desc>
            <filename>test.html</filename>
            <type>text/html</type>
            <size>531</size>
            <attacher name="Myles C. Maxfield">mmaxfield</attacher>
            
              <data encoding="base64">PCFET0NUWVBFIGh0bWw+CjxodG1sPgo8aGVhZD4KPHN0eWxlPgpAZm9udC1mYWNlIHsKICAgIGZv
bnQtZmFtaWx5OiAib21mZyI7CiAgICBzcmM6IGxvY2FsKCItYXBwbGUtc3lzdGVtIik7Cn0KQGZv
bnQtZmFjZSB7CiAgICBmb250LWZhbWlseTogIm9tZmcyIjsKICAgIHNyYzogbG9jYWwoImFzZGZh
c2RmYXNkZiIpOwp9CkBmb250LWZhY2UgewogICAgZm9udC1mYW1pbHk6ICJvbWZnMyI7CiAgICBz
cmM6IGxvY2FsKCJhc2RmYXNkZmFzZGYiKSwgbG9jYWwoIi1hcHBsZS1zeXN0ZW0iKTsKfQo8L3N0
eWxlPgo8L2hlYWQ+Cjxib2R5Pgo8ZGl2IHN0eWxlPSJmb250OiA1MHB4IG9tZmc7Ij5UaGlzIHNo
b3VsZCBiZSBpbiAtYXBwbGUtc3lzdGVtPC9kaXY+CjxkaXYgc3R5bGU9ImZvbnQ6IDUwcHggb21m
ZzI7Ij5UaGlzIHNob3VsZCBub3QgYmUgaW4gLWFwcGxlLXN5c3RlbTwvZGl2Pgo8ZGl2IHN0eWxl
PSJmb250OiA1MHB4IG9tZmczOyI+VGhpcyBzaG91bGQgYmUgaW4gLWFwcGxlLXN5c3RlbTwvZGl2
Pgo8L2JvZHk+CjwvaHRtbD4K
</data>

          </attachment>
      

    </bug>

</bugzilla>