Fix Tab's grammar by creating a production (general_enclosed) for a piece that occurs three times, fixing the missing parentheses around one of those occurrences, and adding the function token alternative to it for all three occurrences.

Tue, 13 Nov 2012 14:02:00 -0800

author
L. David Baron <dbaron@dbaron.org>
date
Tue, 13 Nov 2012 14:02:00 -0800
changeset 7029
4f68a956be34
parent 7028
7c0bc985d04e
child 7030
ab210f5736a4

Fix Tab's grammar by creating a production (general_enclosed) for a piece that occurs three times, fixing the missing parentheses around one of those occurrences, and adding the function token alternative to it for all three occurrences.

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	Tue Nov 13 22:27:40 2012 +0100
     1.2 +++ b/css3-conditional/Overview.html	Tue Nov 13 14:02:00 2012 -0800
     1.3 @@ -12,11 +12,11 @@
     1.4     rel=dcterms.rights>
     1.5    <meta content="CSS Conditional Rules Module Level 3" name=dcterms.title>
     1.6    <meta content=text name=dcterms.type>
     1.7 -  <meta content=2012-10-30 name=dcterms.issued>
     1.8 +  <meta content=2012-11-13 name=dcterms.issued>
     1.9    <meta content="http://dev.w3.org/csswg/css3-conditional/"
    1.10     name=dcterms.creator>
    1.11    <meta content=W3C name=dcterms.publisher>
    1.12 -  <meta content="http://www.w3.org/TR/2012/ED-css3-conditional-20121030/"
    1.13 +  <meta content="http://www.w3.org/TR/2012/ED-css3-conditional-20121113/"
    1.14     name=dcterms.identifier>
    1.15    <link href="../default.css" rel=stylesheet type="text/css">
    1.16    <link href="http://www.w3.org/StyleSheets/TR/W3C-ED.css" rel=stylesheet
    1.17 @@ -32,14 +32,14 @@
    1.18  
    1.19     <h1>CSS Conditional Rules Module Level 3</h1>
    1.20  
    1.21 -   <h2 class="no-num no-toc" id=longstatus-date>Editor's Draft 30 October
    1.22 +   <h2 class="no-num no-toc" id=longstatus-date>Editor's Draft 13 November
    1.23      2012</h2>
    1.24  
    1.25     <dl>
    1.26      <dt>This version:
    1.27  
    1.28 -    <dd><a href="http://www.w3.org/TR/2012/ED-css3-conditional-20121030/">
    1.29 -     http://www.w3.org/TR/2012/ED-css3-conditional-20121030/</a>
    1.30 +    <dd><a href="http://www.w3.org/TR/2012/ED-css3-conditional-20121113/">
    1.31 +     http://www.w3.org/TR/2012/ED-css3-conditional-20121113/</a>
    1.32  
    1.33      <dt>Latest version:
    1.34  
    1.35 @@ -569,8 +569,12 @@
    1.36  
    1.37  <dfn
    1.38     id="supports_condition">supports_condition</dfn>
    1.39 -  : NOT S* '(' any+ ')' S* |
    1.40 -    '(' any+ ')' S* ( ( AND | OR ) S* any+ )*
    1.41 +  : NOT S* general_enclosed |
    1.42 +    general_enclosed ( ( AND | OR ) S* general_enclosed )*
    1.43 +
    1.44 +<dfn
    1.45 +   id="general_enclosed">general_enclosed</dfn>
    1.46 +  : ( FUNCTION | '(' ) any+ ')' S*
    1.47  </pre>
    1.48  
    1.49    <p> The <code>any</code> token is taken from <a
    1.50 @@ -586,7 +590,7 @@
    1.51    <p> The actual processing model of ‘<code class=css>@supports</code>’
    1.52     is predicated on a more restricted grammar, composed of functions or
    1.53     parenthesized declarations, combined together with logical combinators, as
    1.54 -   defined by these grammars:
    1.55 +   defined by the following productions:
    1.56  
    1.57    <pre><dfn id="supports_condition0">supports_condition</dfn>
    1.58    : supports_negation | supports_conjunction | supports_disjunction |
    1.59 @@ -1550,6 +1554,9 @@
    1.60     <li><a href="#csssupportsrule"><code>CSSSupportsRule</code></a>, <a
    1.61      href="#csssupportsrule" title=CSSSupportsRule><strong>7.5.</strong></a>
    1.62  
    1.63 +   <li>general_enclosed, <a href="#general_enclosed"
    1.64 +    title="general_enclosed"><strong>6.</strong></a>
    1.65 +
    1.66     <li>group rule body, <a href="#group-rule-body"
    1.67      title="group rule body"><strong>3.</strong></a>
    1.68  
     2.1 --- a/css3-conditional/Overview.src.html	Tue Nov 13 22:27:40 2012 +0100
     2.2 +++ b/css3-conditional/Overview.src.html	Tue Nov 13 14:02:00 2012 -0800
     2.3 @@ -370,8 +370,11 @@
     2.4    ;
     2.5  
     2.6  <dfn>supports_condition</dfn>
     2.7 -  : NOT S* '(' any+ ')' S* |
     2.8 -    '(' any+ ')' S* ( ( AND | OR ) S* any+ )*
     2.9 +  : NOT S* general_enclosed |
    2.10 +    general_enclosed ( ( AND | OR ) S* general_enclosed )*
    2.11 +
    2.12 +<dfn>general_enclosed</dfn>
    2.13 +  : ( FUNCTION | '(' ) any+ ')' S*
    2.14  </pre>
    2.15  
    2.16  <p>
    2.17 @@ -386,7 +389,7 @@
    2.18    The actual processing model of ''@supports'' is predicated on a more restricted grammar,
    2.19    composed of functions or parenthesized declarations,
    2.20    combined together with logical combinators,
    2.21 -  as defined by these grammars:
    2.22 +  as defined by the following productions:
    2.23  
    2.24  <pre><dfn>supports_condition</dfn>
    2.25    : supports_negation | supports_conjunction | supports_disjunction |

mercurial