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

csswg/css3-animations Overview.html,1.16,1.17 Overview.src.html,1.16,1.17

From: David Baron via cvs-syncmail <cvsmail@w3.org>
Date: Sat, 17 Dec 2011 04:37:20 +0000
To: public-css-commits@w3.org
Message-Id: <E1Rbm1Q-0000AS-D4@lionel-hutz.w3.org>
Update of /sources/public/csswg/css3-animations
In directory hutz:/tmp/cvs-serv630

Modified Files:
	Overview.html Overview.src.html 
Log Message:
Further tweak whitespace in keyframes grammar, both to add more places allowed whitespace was missing, and to follow the convention that productions allow whitespace at their end but not their start.

Index: Overview.html
===================================================================
RCS file: /sources/public/csswg/css3-animations/Overview.html,v
retrieving revision 1.16
retrieving revision 1.17
diff -u -d -r1.16 -r1.17
--- Overview.html	17 Dec 2011 02:20:32 -0000	1.16
+++ Overview.html	17 Dec 2011 04:37:18 -0000	1.17
@@ -1,4 +1,4 @@
-<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN"
+<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN"
 "http://www.w3.org/TR/html4/strict.dtd">
 
 <html lang=en>
@@ -433,13 +433,13 @@
   <p> The following is the grammar for the keyframes rule.
 
   <pre>
-		  
-        keyframes-rule: KEYFRAMES_SYM S* IDENT '{' keyframes-blocks '}' S*;
 
-        keyframes-blocks: [ S* keyframe-selector '{' S* declaration? [ ';' S* declaration? ]* '}' ]* ;
+        keyframes-rule: KEYFRAMES_SYM S+ IDENT S* '{' S* keyframes-blocks '}' S*;
+
+        keyframes-blocks: [ keyframe-selector '{' S* declaration? [ ';' S* declaration? ]* '}' S* ]* ;
+
+        keyframe-selector: [ FROM_SYM | TO_SYM | PERCENTAGE ] S* [ ',' S* [ FROM_SYM | TO_SYM | PERCENTAGE ] S* ]*;
 
-        keyframe-selector: [ FROM_SYM | TO_SYM | PERCENTAGE ] [ ',' [ FROM_SYM | TO_SYM | PERCENTAGE ] ]*;
-		
         @{K}{E}{Y}{F}{R}{A}{M}{E}{S}   {return KEYFRAMES_SYM;}
         {F}{R}{O}{M}                   {return FROM_SYM;}
         {T}{O}                         {return TO_SYM;}

Index: Overview.src.html
===================================================================
RCS file: /sources/public/csswg/css3-animations/Overview.src.html,v
retrieving revision 1.16
retrieving revision 1.17
diff -u -d -r1.16 -r1.17
--- Overview.src.html	17 Dec 2011 02:20:32 -0000	1.16
+++ Overview.src.html	17 Dec 2011 04:37:18 -0000	1.17
@@ -291,13 +291,13 @@
       </p>
 
       <pre>
-		  
-        keyframes-rule: KEYFRAMES_SYM S* IDENT '{' keyframes-blocks '}' S*;
 
-        keyframes-blocks: [ S* keyframe-selector '{' S* declaration? [ ';' S* declaration? ]* '}' ]* ;
+        keyframes-rule: KEYFRAMES_SYM S+ IDENT S* '{' S* keyframes-blocks '}' S*;
+
+        keyframes-blocks: [ keyframe-selector '{' S* declaration? [ ';' S* declaration? ]* '}' S* ]* ;
+
+        keyframe-selector: [ FROM_SYM | TO_SYM | PERCENTAGE ] S* [ ',' S* [ FROM_SYM | TO_SYM | PERCENTAGE ] S* ]*;
 
-        keyframe-selector: [ FROM_SYM | TO_SYM | PERCENTAGE ] [ ',' [ FROM_SYM | TO_SYM | PERCENTAGE ] ]*;
-		
         @{K}{E}{Y}{F}{R}{A}{M}{E}{S}   {return KEYFRAMES_SYM;}
         {F}{R}{O}{M}                   {return FROM_SYM;}
         {T}{O}                         {return TO_SYM;}
Received on Saturday, 17 December 2011 04:37:22 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 19:26:08 UTC