This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 21242 - [Shadow]: 6.3 @host @-rule should extend the CSS 2.1 grammar 'stylesheet' production
Summary: [Shadow]: 6.3 @host @-rule should extend the CSS 2.1 grammar 'stylesheet' pro...
Status: RESOLVED INVALID
Alias: None
Product: WebAppsWG
Classification: Unclassified
Component: HISTORICAL - Component Model (show other bugs)
Version: unspecified
Hardware: PC All
: P2 normal
Target Milestone: ---
Assignee: Dimitri Glazkov
QA Contact: public-webapps-bugzilla
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 14978
  Show dependency treegraph
 
Reported: 2013-03-11 05:17 UTC by Dominic Cooney
Modified: 2013-07-17 22:13 UTC (History)
3 users (show)

See Also:


Attachments

Description Dominic Cooney 2013-03-11 05:17:39 UTC
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.
Comment 1 Dimitri Glazkov 2013-03-11 17:24:21 UTC
Let's ask Tab to help us with this.
Comment 2 Tab Atkins Jr. 2013-03-11 19:59:22 UTC
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.
Comment 3 Dimitri Glazkov 2013-03-11 20:01:49 UTC
(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.
Comment 4 Dimitri Glazkov 2013-07-17 22:13:00 UTC
@host at-rule is dead.