Wed, 06 Feb 2013 13:40:30 -0700
[css3-conditional] Require whitespace around 'and' and 'or' and after 'not'.
Resolves last call issue 2.
As resolved in http://lists.w3.org/Archives/Public/www-style/2012Dec/0330.html
css3-conditional/Overview.html | file | annotate | diff | comparison | revisions | |
css3-conditional/Overview.src.html | file | annotate | diff | comparison | revisions |
1.1 --- a/css3-conditional/Overview.html Wed Feb 06 13:15:40 2013 -0700 1.2 +++ b/css3-conditional/Overview.html Wed Feb 06 13:40:30 2013 -0700 1.3 @@ -575,7 +575,7 @@ 1.4 1.5 <pre><dfn id="supports_rule">supports_rule</dfn> 1.6 : SUPPORTS_SYM S* <a 1.7 - href="#supports_condition"><i>supports_condition</i></a> <a 1.8 + href="#supports_condition"><i>supports_condition</i></a> S* <a 1.9 href="#group_rule_body"><i>group_rule_body</i></a> 1.10 ; 1.11 1.12 @@ -592,7 +592,7 @@ 1.13 <dfn 1.14 id="supports_condition_in_parens">supports_condition_in_parens</dfn> 1.15 : ( '(' S* <a 1.16 - href="#supports_condition"><i>supports_condition</i></a> ')' S* ) | <a 1.17 + href="#supports_condition"><i>supports_condition</i></a> S* ')' ) | <a 1.18 href="#supports_declaration_condition"><i>supports_declaration_condition</i></a> | 1.19 <a 1.20 href="#general_enclosed"><i>general_enclosed</i></a> 1.21 @@ -600,32 +600,32 @@ 1.22 1.23 <dfn 1.24 id="supports_negation">supports_negation</dfn> 1.25 - : NOT S* <a 1.26 + : NOT S+ <a 1.27 href="#supports_condition_in_parens"><i>supports_condition_in_parens</i></a> 1.28 ; 1.29 1.30 <dfn 1.31 id="supports_conjunction">supports_conjunction</dfn> 1.32 : <a 1.33 - href="#supports_condition_in_parens"><i>supports_condition_in_parens</i></a> ( AND S* <a 1.34 + href="#supports_condition_in_parens"><i>supports_condition_in_parens</i></a> ( S+ AND S+ <a 1.35 href="#supports_condition_in_parens"><i>supports_condition_in_parens</i></a> )+ 1.36 ; 1.37 1.38 <dfn 1.39 id="supports_disjunction">supports_disjunction</dfn> 1.40 : <a 1.41 - href="#supports_condition_in_parens"><i>supports_condition_in_parens</i></a> ( OR S* <a 1.42 + href="#supports_condition_in_parens"><i>supports_condition_in_parens</i></a> ( S+ OR S+ <a 1.43 href="#supports_condition_in_parens"><i>supports_condition_in_parens</i></a> )+ 1.44 ; 1.45 1.46 <dfn 1.47 id="supports_declaration_condition">supports_declaration_condition</dfn> 1.48 - : '(' S* declaration ')' S* 1.49 + : '(' S* declaration ')' 1.50 ; 1.51 1.52 <dfn 1.53 id="general_enclosed">general_enclosed</dfn> 1.54 - : ( FUNCTION | '(' ) ( any | unused )* ')' S* 1.55 + : ( FUNCTION | '(' ) ( any | unused )* ')' 1.56 ; 1.57 </pre> 1.58 1.59 @@ -795,6 +795,10 @@ 1.60 }</pre> 1.61 </div> 1.62 1.63 + <p>Furthermore, whitespace is required after a ‘<code 1.64 + class=css>not</code>’ and on both sides of an ‘<code 1.65 + class=css>and</code>’ or ‘<code class=css>or</code>’. 1.66 + 1.67 <p>The declaration being tested must always occur within parentheses, when 1.68 it is the only thing in the expression. 1.69
2.1 --- a/css3-conditional/Overview.src.html Wed Feb 06 13:15:40 2013 -0700 2.2 +++ b/css3-conditional/Overview.src.html Wed Feb 06 13:40:30 2013 -0700 2.3 @@ -371,7 +371,7 @@ 2.4 <p>and the grammar by adding</p> 2.5 2.6 <pre><dfn>supports_rule</dfn> 2.7 - : SUPPORTS_SYM S* <i>supports_condition</i> <i>group_rule_body</i> 2.8 + : SUPPORTS_SYM S* <i>supports_condition</i> S* <i>group_rule_body</i> 2.9 ; 2.10 2.11 <dfn>supports_condition</dfn> 2.12 @@ -380,28 +380,28 @@ 2.13 ; 2.14 2.15 <dfn>supports_condition_in_parens</dfn> 2.16 - : ( '(' S* <i>supports_condition</i> ')' S* ) | <i>supports_declaration_condition</i> | 2.17 + : ( '(' S* <i>supports_condition</i> S* ')' ) | <i>supports_declaration_condition</i> | 2.18 <i>general_enclosed</i> 2.19 ; 2.20 2.21 <dfn>supports_negation</dfn> 2.22 - : NOT S* <i>supports_condition_in_parens</i> 2.23 + : NOT S+ <i>supports_condition_in_parens</i> 2.24 ; 2.25 2.26 <dfn>supports_conjunction</dfn> 2.27 - : <i>supports_condition_in_parens</i> ( AND S* <i>supports_condition_in_parens</i> )+ 2.28 + : <i>supports_condition_in_parens</i> ( S+ AND S+ <i>supports_condition_in_parens</i> )+ 2.29 ; 2.30 2.31 <dfn>supports_disjunction</dfn> 2.32 - : <i>supports_condition_in_parens</i> ( OR S* <i>supports_condition_in_parens</i> )+ 2.33 + : <i>supports_condition_in_parens</i> ( S+ OR S+ <i>supports_condition_in_parens</i> )+ 2.34 ; 2.35 2.36 <dfn>supports_declaration_condition</dfn> 2.37 - : '(' S* declaration ')' S* 2.38 + : '(' S* declaration ')' 2.39 ; 2.40 2.41 <dfn>general_enclosed</dfn> 2.42 - : ( FUNCTION | '(' ) ( any | unused )* ')' S* 2.43 + : ( FUNCTION | '(' ) ( any | unused )* ')' 2.44 ; 2.45 </pre> 2.46 2.47 @@ -560,6 +560,9 @@ 2.48 }</pre> 2.49 </div> 2.50 2.51 +<p>Furthermore, whitespace is required after a ''not'' and on both 2.52 +sides of an ''and'' or ''or''.</p> 2.53 + 2.54 <p>The declaration being tested must always occur within parentheses, 2.55 when it is the only thing in the expression.<p> 2.56