- From: Tab Atkins Jr.. via cvs-syncmail <cvsmail@w3.org>
- Date: Wed, 09 Nov 2011 21:23:05 +0000
- To: public-css-commits@w3.org
Update of /sources/public/csswg/css3-images In directory hutz:/tmp/cvs-serv14178 Modified Files: Overview.html Overview.src.html Log Message: Wrapped the expanded r-g grammar in a note, added more explanation of why it exists. Index: Overview.html =================================================================== RCS file: /sources/public/csswg/css3-images/Overview.html,v retrieving revision 1.198 retrieving revision 1.199 diff -u -d -r1.198 -r1.199 --- Overview.html 9 Nov 2011 01:38:15 -0000 1.198 +++ Overview.html 9 Nov 2011 21:23:02 -0000 1.199 @@ -976,10 +976,16 @@ </dl> </dl> - <p>The expanded grammar for ‘<code - class=css>radial-gradient()</code>’ is thus: + <div class=note> + <p>The grammar listed above is kept deliberately simple for readability + purposes, with some details instead expressed in the prose. All of the + details can be expressed directly in the grammar, however, and such a + grammar is presented here for use by implementors and others writing + parsers. It is officially non-normative, but should match the same set of + strings that the normative grammar does when augmented with the prose. - <pre><radial-gradient> = radial-gradient( + <pre> +<radial-gradient> = radial-gradient( [ [ circle | ellipse ] , | [ circle | ellipse ]? [ at <position> || to <extent-keyword> ] , | circle? [ at <position> || to <length> ] , | @@ -988,6 +994,7 @@ <color-stop> [ , <color-stop> ]+ ) <extent-keyword> = closest-corner | closest-side | farthest-corner | farthest-side</pre> + </div> <h4 class=no-toc id=radial-color-stops><span class=secno>5.2.2. </span> Placing Color Stops</h4> Index: Overview.src.html =================================================================== RCS file: /sources/public/csswg/css3-images/Overview.src.html,v retrieving revision 1.206 retrieving revision 1.207 diff -u -d -r1.206 -r1.207 --- Overview.src.html 9 Nov 2011 01:38:15 -0000 1.206 +++ Overview.src.html 9 Nov 2011 21:23:03 -0000 1.207 @@ -629,8 +629,11 @@ </dd> </dl> - <p>The expanded grammar for ''radial-gradient()'' is thus: -<pre><radial-gradient> = radial-gradient( + <div class='note'> + <p>The grammar listed above is kept deliberately simple for readability purposes, with some details instead expressed in the prose. All of the details can be expressed directly in the grammar, however, and such a grammar is presented here for use by implementors and others writing parsers. It is officially non-normative, but should match the same set of strings that the normative grammar does when augmented with the prose. + + <pre> +<radial-gradient> = radial-gradient( [ [ circle | ellipse ] , | [ circle | ellipse ]? [ at <position> || to <extent-keyword> ] , | circle? [ at <position> || to <length> ] , | @@ -639,6 +642,7 @@ <color-stop> [ , <color-stop> ]+ ) <extent-keyword> = closest-corner | closest-side | farthest-corner | farthest-side</pre> + </div> <h4 class="no-toc" id="radial-color-stops"> Placing Color Stops</h4>
Received on Wednesday, 9 November 2011 21:23:09 UTC