This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.
Section 6.3 specifies an additional 'host' 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 'stylesheet' production) to the CSS grammar to clarify where @host rules appear in a stylesheet.
Let's ask Tab to help us with this.
Hook into this: <http://dev.w3.org/csswg/css3-conditional/#grammar>. In other words, amend the stylesheet production to include the host rule, and also amend the nested_statement rule <http://dev.w3.org/csswg/css3-conditional/#nested_statement> in the same way.
(In reply to comment #2) > Hook into this: <http://dev.w3.org/csswg/css3-conditional/#grammar>. > > In other words, amend the stylesheet production to include the host rule, > and also amend the nested_statement rule > <http://dev.w3.org/csswg/css3-conditional/#nested_statement> in the same way. Awesome, thanks! Dominic, consider this change accepted and slowly making its way through the editorial process' digestive tract.
@host at-rule is dead.