<?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>187117</bug_id>
          
          <creation_ts>2018-06-27 15:03:46 -0700</creation_ts>
          <short_desc>Forwards-compatible parsing of @font-face src descriptor: split on commas, discard invalid parts rather than entire descriptor</short_desc>
          <delta_ts>2022-12-05 02:10:33 -0800</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>WebKit Nightly Build</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>NEW</bug_status>
          <resolution></resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>InRadar</keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="fantasai">fantasai.bugs</reporter>
          <assigned_to name="Myles C. Maxfield">mmaxfield</assigned_to>
          <cc>bfulgham</cc>
    
    <cc>emilio</cc>
    
    <cc>jfkthame</cc>
    
    <cc>mmaxfield</cc>
    
    <cc>webkit-bug-importer</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1437115</commentid>
    <comment_count>0</comment_count>
      <attachid>343755</attachid>
    <who name="fantasai">fantasai.bugs</who>
    <bug_when>2018-06-27 15:03:46 -0700</bug_when>
    <thetext>Created attachment 343755
testcase (requires Ahem)

In light of discussions for extending the format() descriptor to handle features (e.g. colors, variations) within a particular font format, the CSSWG recently resolved to update the parsing rules for @font-face&apos;s src descriptor to be more forwards-compatible, using Media Queries style parsing rules to split on top-level commas, and discard only the invalid items in the src list rather than throwing out the entire descriptor.

https://github.com/w3c/csswg-drafts/issues/633

I think this is an important change to implement even before the new features are implemented, as it means WebKit will be forwards-compatible with content authored using new format() features, whatever they end up being.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1884160</commentid>
    <comment_count>1</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2022-07-15 13:30:25 -0700</bug_when>
    <thetext>&lt;rdar://problem/97091127&gt;</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="0"
              isprivate="0"
          >
            <attachid>343755</attachid>
            <date>2018-06-27 15:03:46 -0700</date>
            <delta_ts>2018-06-27 15:03:46 -0700</delta_ts>
            <desc>testcase (requires Ahem)</desc>
            <filename>test.html</filename>
            <type>text/html</type>
            <size>193</size>
            <attacher name="fantasai">fantasai.bugs</attacher>
            
              <data encoding="base64">PCFET0NUWVBFIGh0bWw+CjxzdHlsZT4KQGZvbnQtZmFjZSB7CiAgZm9udC1mYW1pbHk6ICJURVNU
IjsKICBzcmM6IGxvY2FsKCJ0aGlzIGlzIGp1c3QgYSB0ZXN0IiksIGludmFsaWQtanVuaygpLCBs
b2NhbCgiQWhlbSIpOwp9Cmh0bWwgewogIGZvbnQtZmFtaWx5OiBURVNUOwogIGZvbnQtc2l6ZTog
NGVtOwp9Cjwvc3R5bGU+CgpGQUlMCg==
</data>

          </attachment>
      

    </bug>

</bugzilla>