- From: Elika Etemad via cvs-syncmail <cvsmail@w3.org>
- Date: Wed, 10 Aug 2011 23:42:33 +0000
- To: public-css-commits@w3.org
Update of /sources/public/csswg/css3-values
In directory hutz:/tmp/cvs-serv7159
Modified Files:
Overview.src.html
Log Message:
Define list modifier (#) as suggested by Anne van Kesteren; improve examples
Index: Overview.src.html
===================================================================
RCS file: /sources/public/csswg/css3-values/Overview.src.html,v
retrieving revision 1.74
retrieving revision 1.75
diff -u -d -r1.74 -r1.75
--- Overview.src.html 10 Aug 2011 23:42:05 -0000 1.74
+++ Overview.src.html 10 Aug 2011 23:42:31 -0000 1.75
@@ -186,6 +186,9 @@
<li>A pair of numbers in curly braces ({<var>A</var>,<var>B</var>})
indicates that the preceding type, word, or group occurs at least
<var>A</var> and at most <var>B</var> times.
+
+ <li>A hash mark (#) indicates that the preceding type, word, or
+ group occurs one or more times, separated by comma tokens.
</ul>
<h3 id="value-types">
@@ -212,17 +215,46 @@
<p>Below are some examples of properties with their corresponding value
definition fields
-<div class=example>
-<p>Here are some sample properties with corresponding value definition fields:
-<table>
-<tr><th>Property<th>Value definition field
-<tr><td>min-width<td><length> | <percentage> | inherit
-<tr><td>outline-color<td><color> | invert | inherit
-<tr><td>orphans<td><integer> | inherit
-<tr><td>pitch<td><frequency> | x-low | low | medium | high | x-high | inherit
-<tr><td>string-set<td>[[ <identifier> <content-list>] [, <identifier> <content-list>]* ] | none
-</table>
-</div>
+ <div class=example>
+ <table class="data" id="propvalues">
+ <thead>
+ <tr><th>Property
+ <th>Value definition field
+ <th>Example value
+ </thead>
+ <tbody>
+ <tr><td>'orphans'
+ <td><integer>
+ <td>''3''
+ <tr><td>'text-align'
+ <td>left | right | center | justify
+ <td>''center''
+ <tr><td>'padding-top'
+ <td><length> | <percentage>
+ <td>''5%''
+ <tr><td>'outline-color'
+ <td><color> | invert
+ <td>''#fefefe''
+ <tr><td>'text-decoration'
+ <td>none | underline || overline || line-through || blink
+ <td>''overline underline''
+ <tr><td>'font-family'
+ <td><family-name>#
+ <td>''"Gill Sans", Futura, sans-serif''
+ <tr><td>'border-width'
+ <td>[ <length> | thick | medium | thin ]{1,4}
+ <td>''2px medium 4px''
+ <tr><td>'text-shadow'
+ <td>[ inset? && [ <length>{2,4} && <color>? ] ]# | none
+ <td>''3px 3px rgba(50%, 50%, 50%, 50%), lemonchiffon 0 0 4px inset''
+ <tr><td>'voice-pitch'
+ <td><pre class="value"><frequency> && absolute |
+<!-- -->[[x-low | low | medium | high | x-high] ||
+<!-- --> [<frequency> | <semitones> | <percentage>]]</pre>
+ <td>''-2st x-low''
+ </tbody>
+ </table>
+ </div>
<h2>Syntax and terminology</h2>
Received on Wednesday, 10 August 2011 23:42:37 UTC