- From: Elika Etemad via cvs-syncmail <cvsmail@w3.org>
- Date: Thu, 01 Dec 2011 22:35:48 +0000
- To: public-css-commits@w3.org
Update of /sources/public/csswg/css3-images In directory hutz:/tmp/cvs-serv3652 Modified Files: Overview.html Overview.src.html Log Message: Add example, remove stray definition, simplify note. Index: Overview.html =================================================================== RCS file: /sources/public/csswg/css3-images/Overview.html,v retrieving revision 1.239 retrieving revision 1.240 diff -u -d -r1.239 -r1.240 --- Overview.html 1 Dec 2011 22:25:46 -0000 1.239 +++ Overview.html 1 Dec 2011 22:35:45 -0000 1.240 @@ -1017,8 +1017,14 @@ <radial-gradient> = radial-gradient( [ [ <shape> || <size> ] [ at <position> ]? ,]? <color-stop> [ , <color-stop> ]+ -) -<extent-keyword> = closest-corner | closest-side | farthest-corner | farthest-side</pre> +)</pre> + + <div class=example> + <p>Here is an example of a circular radial gradient 5em wide and + positioned with its center in the top left corner: + + <pre>radial-gradient(5em circle at top left, yellow, blue)</pre> + </div> <p>The arguments are defined as follows: @@ -1139,12 +1145,7 @@ </dl> <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. + <p>Expanded with the above definitions, the grammar becomes: <pre> <radial-gradient> = radial-gradient( Index: Overview.src.html =================================================================== RCS file: /sources/public/csswg/css3-images/Overview.src.html,v retrieving revision 1.246 retrieving revision 1.247 diff -u -d -r1.246 -r1.247 --- Overview.src.html 1 Dec 2011 22:25:47 -0000 1.246 +++ Overview.src.html 1 Dec 2011 22:35:45 -0000 1.247 @@ -624,8 +624,13 @@ <radial-gradient> = radial-gradient( [ [ <shape> || <size> ] [ at <position> ]? ,]? <color-stop> [ , <color-stop> ]+ -) -<extent-keyword> = closest-corner | closest-side | farthest-corner | farthest-side</pre> +)</pre> + + <div class=example> + <p>Here is an example of a circular radial gradient 5em wide and + positioned with its center in the top left corner: + <pre>radial-gradient(5em circle at top left, yellow, blue)</pre> + </div> <p>The arguments are defined as follows: @@ -706,7 +711,7 @@ </dl> <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. + <p>Expanded with the above definitions, the grammar becomes: <pre> <radial-gradient> = radial-gradient(
Received on Thursday, 1 December 2011 22:35:50 UTC