<?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>21242</bug_id>
          
          <creation_ts>2013-03-11 05:17:39 +0000</creation_ts>
          <short_desc>[Shadow]: 6.3 @host @-rule should extend the CSS 2.1 grammar &apos;stylesheet&apos; production</short_desc>
          <delta_ts>2013-07-17 22:13:00 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebAppsWG</product>
          <component>HISTORICAL - Component Model</component>
          <version>unspecified</version>
          <rep_platform>PC</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>INVALID</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          <blocked>14978</blocked>
          <everconfirmed>1</everconfirmed>
          <reporter name="Dominic Cooney">dominicc</reporter>
          <assigned_to name="Dimitri Glazkov">dglazkov</assigned_to>
          <cc>dominicc</cc>
    
    <cc>jackalmage</cc>
    
    <cc>tasak</cc>
          
          <qa_contact>public-webapps-bugzilla</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>84209</commentid>
    <comment_count>0</comment_count>
    <who name="Dominic Cooney">dominicc</who>
    <bug_when>2013-03-11 05:17:39 +0000</bug_when>
    <thetext>Section 6.3 specifies an additional &apos;host&apos; production to the CSS 2.1 grammar, however that production is naturally not used anywhere in the existing CSS 2.1 grammar. As a result the addition of the rule is meaningless from the point of view of parsing @host rules in the context of a stylesheet.

For example, it is not clear if or how @host rules can be combined with @media rules.

Section 6.3 should specify additional amendment (perhaps to the &apos;stylesheet&apos; production) to the CSS grammar to clarify where @host rules appear in a stylesheet.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>84256</commentid>
    <comment_count>1</comment_count>
    <who name="Dimitri Glazkov">dglazkov</who>
    <bug_when>2013-03-11 17:24:21 +0000</bug_when>
    <thetext>Let&apos;s ask Tab to help us with this.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>84267</commentid>
    <comment_count>2</comment_count>
    <who name="Tab Atkins Jr.">jackalmage</who>
    <bug_when>2013-03-11 19:59:22 +0000</bug_when>
    <thetext>Hook into this: &lt;http://dev.w3.org/csswg/css3-conditional/#grammar&gt;.

In other words, amend the stylesheet production to include the host rule, and also amend the nested_statement rule &lt;http://dev.w3.org/csswg/css3-conditional/#nested_statement&gt; in the same way.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>84268</commentid>
    <comment_count>3</comment_count>
    <who name="Dimitri Glazkov">dglazkov</who>
    <bug_when>2013-03-11 20:01:49 +0000</bug_when>
    <thetext>(In reply to comment #2)
&gt; Hook into this: &lt;http://dev.w3.org/csswg/css3-conditional/#grammar&gt;.
&gt; 
&gt; In other words, amend the stylesheet production to include the host rule,
&gt; and also amend the nested_statement rule
&gt; &lt;http://dev.w3.org/csswg/css3-conditional/#nested_statement&gt; in the same way.

Awesome, thanks! Dominic, consider this change accepted and slowly making its way through the editorial process&apos; digestive tract.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>90894</commentid>
    <comment_count>4</comment_count>
    <who name="Dimitri Glazkov">dglazkov</who>
    <bug_when>2013-07-17 22:13:00 +0000</bug_when>
    <thetext>@host at-rule is dead.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>