css3-conditional/Overview.src.html

changeset 7032
a0055078c6c1
parent 7031
0eeeaff20f24
child 7033
75bace3c4dec
     1.1 --- a/css3-conditional/Overview.src.html	Tue Nov 13 14:58:23 2012 -0800
     1.2 +++ b/css3-conditional/Overview.src.html	Tue Nov 13 15:02:47 2012 -0800
     1.3 @@ -247,13 +247,13 @@
     1.4  <p>In terms of the grammar, this specification defines the following
     1.5  productions for use in the grammar of conditional group rules:</p>
     1.6  
     1.7 -<pre>nested_statement
     1.8 -  : ruleset | media | page | font_face_rule | keyframes_rule |
     1.9 -    supports_rule
    1.10 +<pre><dfn>nested_statement</dfn>
    1.11 +  : ruleset | <i>media</i> | page | font_face_rule | keyframes_rule |
    1.12 +    <i>supports_rule</i>
    1.13    ;
    1.14  
    1.15 -group_rule_body
    1.16 -  : '{' S* nested_statement* '}' S*
    1.17 +<dfn>group_rule_body</dfn>
    1.18 +  : '{' S* <i>nested_statement</i>* '}' S*
    1.19    ;</pre>
    1.20  <p>
    1.21  in which all the productions are defined in that grammar with the
    1.22 @@ -316,8 +316,8 @@
    1.23  <code>media</code> production in the
    1.24  <a href="http://www.w3.org/TR/CSS21/grammar.html">Grammar of CSS 2.1</a>
    1.25  ([[!CSS21]], Appendix G) into:
    1.26 -<pre>media
    1.27 -  : MEDIA_SYM S* media_query_list group_rule_body
    1.28 +<pre><dfn>media</dfn>
    1.29 +  : MEDIA_SYM S* media_query_list <i>group_rule_body</i>
    1.30    ;</pre>
    1.31  <p>where the <code>group_rule_body</code> production is defined in this
    1.32  specification, the <code>media_query_list</code> production is defined
    1.33 @@ -366,29 +366,29 @@
    1.34  <p>and the grammar by adding</p>
    1.35  
    1.36  <pre><dfn>supports_rule</dfn>
    1.37 -  : SUPPORTS_SYM S* <i>supports_condition</i> group_rule_body
    1.38 +  : SUPPORTS_SYM S* <i>supports_condition</i> <i>group_rule_body</i>
    1.39    ;
    1.40  
    1.41  <dfn>supports_condition</dfn>
    1.42 -  : supports_negation | supports_conjunction | supports_disjunction |
    1.43 -    supports_condition_in_parens
    1.44 +  : <i>supports_negation</i> | <i>supports_conjunction</i> | <i>supports_disjunction</i> |
    1.45 +    <i>supports_condition_in_parens</i>
    1.46    ;
    1.47  
    1.48  <dfn>supports_condition_in_parens</dfn>
    1.49 -  : ( '(' S* supports_condition ')' S* ) | supports_declaration_condition |
    1.50 -    general_enclosed
    1.51 +  : ( '(' S* <i>supports_condition</i> ')' S* ) | <i>supports_declaration_condition</i> |
    1.52 +    <i>general_enclosed</i>
    1.53    ;
    1.54  
    1.55  <dfn>supports_negation</dfn>
    1.56 -  : NOT S* supports_condition_in_parens
    1.57 +  : NOT S* <i>supports_condition_in_parens</i>
    1.58    ;
    1.59  
    1.60  <dfn>supports_conjunction</dfn>
    1.61 -  : supports_condition_in_parens ( AND S* supports_condition_in_parens )+
    1.62 +  : <i>supports_condition_in_parens</i> ( AND S* <i>supports_condition_in_parens</i> )+
    1.63    ;
    1.64  
    1.65  <dfn>supports_disjunction</dfn>
    1.66 -  : supports_condition_in_parens ( OR S* supports_condition_in_parens )+
    1.67 +  : <i>supports_condition_in_parens</i> ( OR S* <i>supports_condition_in_parens</i> )+
    1.68    ;
    1.69  
    1.70  <dfn>supports_declaration_condition</dfn>
    1.71 @@ -799,11 +799,11 @@
    1.72  ([[!CSS21]], Appendix G) by adding:
    1.73  <pre>@{D}{O}{C}{U}{M}{E}{N}{T}	{return DOCUMENT_SYM;}</pre>
    1.74  <p>and the grammar by adding</p>
    1.75 -<pre>document_rule
    1.76 -  : DOCUMENT_SYM S+ url_match_fn ( "," S* url_match_fn )* group_rule_body
    1.77 +<pre><dfn>document_rule</dfn>
    1.78 +  : DOCUMENT_SYM S+ <i>url_match_fn</i> ( "," S* <i>url_match_fn</i> )* <i>group_rule_body</i>
    1.79    ;
    1.80  
    1.81 -url_match_fn
    1.82 +<dfn>url_match_fn</dfn>
    1.83    : (URI | FUNCTION S* STRING S* ')' ) S*
    1.84    ;</pre>
    1.85  -->

mercurial