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

<bugzilla version="5.0.4"
          urlbase="https://www.w3.org/Bugs/Public/"
          
          maintainer="sysbot+bugzilla@w3.org"
>

    <bug>
          <bug_id>15821</bug_id>
          
          <creation_ts>2012-01-31 23:58:21 +0000</creation_ts>
          <short_desc>The text about the scoped attribute and @font-face makes no sense</short_desc>
          <delta_ts>2012-08-27 23:17:05 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WHATWG</product>
          <component>HTML</component>
          <version>unspecified</version>
          <rep_platform>Other</rep_platform>
          <op_sys>other</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc>http://www.whatwg.org/specs/web-apps/current-work/#style-default-media</bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P3</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>Unsorted</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>contributor</reporter>
          <assigned_to name="Ian &apos;Hixie&apos; Hickson">ian</assigned_to>
          <cc>bzbarsky</cc>
    
    <cc>dbaron</cc>
    
    <cc>ian</cc>
    
    <cc>jdaggett</cc>
    
    <cc>mike</cc>
          
          <qa_contact>contributor</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>63480</commentid>
    <comment_count>0</comment_count>
    <who name="">contributor</who>
    <bug_when>2012-01-31 23:58:21 +0000</bug_when>
    <thetext>Specification: http://www.whatwg.org/specs/web-apps/current-work/
Multipage: http://www.whatwg.org/C#style-default-media
Complete: http://www.whatwg.org/c#style-default-media

Comment:
The text about the scoped attribute and @font-face makes no sense

Posted from: 84.97.147.161
User agent: Mozilla/5.0 (X11; Linux x86_64; rv:12.0a1) Gecko/20100101 Firefox/12.0a1</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>63484</commentid>
    <comment_count>1</comment_count>
    <who name="L. David Baron (Mozilla)">dbaron</who>
    <bug_when>2012-02-01 00:03:37 +0000</bug_when>
    <thetext>To add a bit more detail here, I&apos;m referring to the text:

  For scoped CSS resources, the effect of other @-rules must be scoped
  to the scoped sheet and its subresources, even if the @-rule in
  question would ordinarily apply to all style sheets that affect the
  Document. Any &apos;@page&apos; rules in scoped CSS resources must be ignored.

    For example, an &apos;@font-face&apos; rule defined in a scoped style sheet
    would only define the font for the purposes of font rules in the
    scoped section; style sheets outside the scoped section using the
    same font name would not end up using that embedded font.

This seems to be based on a significant misunderstanding of what @font-face rules do.  What they do is add to the set of available fonts.  It may well make sense to scope them to a document tree, but it makes no sense to scope them to a set of rules.  For example, if the computed value of &apos;font-family&apos; comes from one of the scoped rules and the computed value of &apos;font-style&apos; comes from outside that set, and the scoped set defines an italic in the given family, is that considered &quot;for the purposes of font rules in the scoped section&quot;?  This text essentially:
 (a) requires that the computed value of all font properties that affect font selection change from their current structure to the pair of that structure with a list of all active @font-face rules, and
 (b) doesn&apos;t provide a conflict resolution algorithm for when those lists of @font-face rules differ</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>70541</commentid>
    <comment_count>2</comment_count>
    <who name="">contributor</who>
    <bug_when>2012-07-18 16:02:28 +0000</bug_when>
    <thetext>This bug was cloned to create bug 18036 as part of operation convergence.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>72871</commentid>
    <comment_count>3</comment_count>
    <who name="">contributor</who>
    <bug_when>2012-08-27 23:17:05 +0000</bug_when>
    <thetext>Checked in as WHATWG revision r7289.
Check-in comment: Make @font-face in &lt;style scoped&gt; make more sense
http://html5.org/tools/web-apps-tracker?from=7288&amp;to=7289</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>