<html>
    <head>
      <base href="https://bugs.webkit.org/">
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - Forwards-compatible parsing of @font-face src descriptor: split on commas, discard invalid parts rather than entire descriptor"
   href="https://bugs.webkit.org/show_bug.cgi?id=187117">187117</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>Forwards-compatible parsing of @font-face src descriptor: split on commas, discard invalid parts rather than entire descriptor
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>WebKit
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>WebKit Nightly Build
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>Unspecified
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>Unspecified
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>NEW
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>Normal
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>P2
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>CSS
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>webkit-unassigned@lists.webkit.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>fantasai.bugs@inkedblade.net
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Created <span class=""><a href="attachment.cgi?id=343755" name="attach_343755" title="testcase (requires Ahem)">attachment 343755</a> <a href="attachment.cgi?id=343755&action=edit" title="testcase (requires Ahem)">[details]</a></span>
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'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.

<a href="https://github.com/w3c/csswg-drafts/issues/633">https://github.com/w3c/csswg-drafts/issues/633</a>

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.</pre>
        </div>
      </p>


      <hr>
      <span>You are receiving this mail because:</span>

      <ul>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>