W3C home > Mailing lists > Public > public-css-commits@w3.org > November 2011

csswg/css3-images Overview.html,1.198,1.199 Overview.src.html,1.206,1.207

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
Message-Id: <E1ROFbt-0003h2-6F@lionel-hutz.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 &lsquo;<code
-   class=css>radial-gradient()</code>&rsquo; 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>&lt;radial-gradient> = radial-gradient(
+   <pre>
+&lt;radial-gradient> = radial-gradient(
   [ [ circle | ellipse ]  , |
     [ circle | ellipse ]? [ at &lt;position> || to &lt;extent-keyword> ] , |
     circle?               [ at &lt;position> || to &lt;length> ] , |
@@ -988,6 +994,7 @@
   &lt;color-stop> [ , &lt;color-stop> ]+
 )
 &lt;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>&lt;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>
+&lt;radial-gradient> = radial-gradient(
   [ [ circle | ellipse ]  , |
     [ circle | ellipse ]? [ at &lt;position> || to &lt;extent-keyword> ] , |
     circle?               [ at &lt;position> || to &lt;length> ] , |
@@ -639,6 +642,7 @@
   &lt;color-stop> [ , &lt;color-stop> ]+
 )
 &lt;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 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 9 November 2011 21:23:10 GMT