- From: Elika Etemad via cvs-syncmail <cvsmail@w3.org>
- Date: Wed, 23 Mar 2011 21:38:26 +0000
- To: public-css-commits@w3.org
Update of /sources/public/csswg/selectors4
In directory hutz:/tmp/cvs-serv32608
Modified Files:
Overview.html Overview.src.html
Log Message:
Strip trailing white space. (No other change.)
Index: Overview.html
===================================================================
RCS file: /sources/public/csswg/selectors4/Overview.html,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- Overview.html 23 Mar 2011 06:30:28 -0000 1.1
+++ Overview.html 23 Mar 2011 21:38:24 -0000 1.2
@@ -1821,7 +1821,7 @@
tr:nth-child(odd) /* same */
tr:nth-child(2n+0) /* represents every even row of an HTML table */
tr:nth-child(even) /* same */
-
+
/* Alternate paragraph colours in CSS */
p:nth-child(4n+1) { color: navy; }
p:nth-child(4n+2) { color: green; }
@@ -1934,7 +1934,7 @@
<p>Examples:</p>
<pre>tr:nth-last-child(-n+2) /* represents the two last rows of an HTML table */
-
+
foo:nth-last-child(odd) /* represents all odd foo elements in their parent element,
counting from the last one */</pre>
</div>
@@ -2399,42 +2399,42 @@
<pre>selectors_group
: selector [ COMMA S* selector ]*
;
-
+
selector
: compound_selector [ combinator simple_selector_sequence ]*
;
-
+
combinator
/* combinators can be surrounded by whitespace */
: PLUS S* | GREATER S* | TILDE S* | S+
;
-
+
simple_selector_sequence
: [ type_selector | universal ]
[ HASH | class | attrib | pseudo | negation ]*
| [ HASH | class | attrib | pseudo | negation ]+
;
-
+
type_selector
: [ namespace_prefix ]? element_name
;
-
+
namespace_prefix
: [ IDENT | '*' ]? '|'
;
-
+
element_name
: IDENT
;
-
+
universal
: [ namespace_prefix ]? '*'
;
-
+
class
: '.' IDENT
;
-
+
attrib
: '[' S* [ namespace_prefix ]? IDENT S*
[ [ PREFIXMATCH |
@@ -2445,7 +2445,7 @@
DASHMATCH ] S* [ IDENT | STRING ] S*
]? ']'
;
-
+
pseudo
/* '::' starts a pseudo-element, ':' a pseudo-class */
/* Exceptions: :first-line, :first-letter, :before and :after. */
@@ -2453,21 +2453,21 @@
/* occur only in the last compound_selector. */
: ':' ':'? [ IDENT | functional_pseudo ]
;
-
+
functional_pseudo
: FUNCTION S* expression ')'
;
-
+
expression
/* In CSS3, the expressions are identifiers, strings, */
/* or of the form "an+b" */
: [ [ PLUS | '-' | DIMENSION | NUMBER | STRING | IDENT ] S* ]+
;
-
+
negation
: NOT S* negation_arg S* ')'
;
-
+
negation_arg
: type_selector | universal | HASH | class | attrib | pseudo
;</pre>
@@ -2485,7 +2485,7 @@
rel=biblioentry>[UNICODE]<!--{{!UNICODE}}--></a>
<pre>%option case-insensitive
-
+
ident [-]?{nmstart}{nmchar}*
name {nmchar}+
nmstart [_a-z]|{nonascii}|{escape}
@@ -2502,18 +2502,18 @@
invalid2 \'([^\n\r\f\\']|\\{nl}|{nonascii}|{escape})*
nl \n|\r\n|\r|\f
w [ \t\r\n\f]*
-
+
D d|\\0{0,4}(44|64)(\r\n|[ \t\r\n\f])?
E e|\\0{0,4}(45|65)(\r\n|[ \t\r\n\f])?
N n|\\0{0,4}(4e|6e)(\r\n|[ \t\r\n\f])?|\\n
O o|\\0{0,4}(4f|6f)(\r\n|[ \t\r\n\f])?|\\o
T t|\\0{0,4}(54|74)(\r\n|[ \t\r\n\f])?|\\t
V v|\\0{0,4}(58|78)(\r\n|[ \t\r\n\f])?|\\v
-
+
%%
-
+
[ \t\r\n\f]+ return S;
-
+
"~=" return INCLUDES;
"|=" return DASHMATCH;
"^=" return PREFIXMATCH;
@@ -2535,9 +2535,9 @@
{num}{ident} return DIMENSION;
"<!--" return CDO;
"-->" return CDC;
-
+
\/\*[^*]*\*+([^/*][^*]*\*+)*\/ /* ignore comments */
-
+
. return *yytext;</pre>
<h2 id=profiling><span class=secno>11. </span>Profiles</h2>
@@ -2773,7 +2773,7 @@
be correctly implemented according to spec.</p>
<!--
<h2 id=Tests>Tests</h2>
-
+
<p>This specification has <a
href="http://www.w3.org/Style/CSS/Test/CSS3/Selectors/current/">a test
suite</a> allowing user agents to verify their basic conformance to
Index: Overview.src.html
===================================================================
RCS file: /sources/public/csswg/selectors4/Overview.src.html,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- Overview.src.html 23 Mar 2011 06:30:28 -0000 1.1
+++ Overview.src.html 23 Mar 2011 21:38:24 -0000 1.2
@@ -59,7 +59,7 @@
Style Sheets), which uses Selectors to bind style properties to
elements in the document.</p>
- <p>Selectors Level 4 describes the selectors that already exist in
+ <p>Selectors Level 4 describes the selectors that already exist in
[[!CSS3SELECT]], and further introduces new selectors for CSS and
other languages that may need them.</p>
@@ -117,21 +117,21 @@
document are to be interpreted as described in RFC 2119.
However, for readability, these words do not appear in all uppercase
[...1908 lines suppressed...]
Acknowledgements</h2>
-
+
<p>The CSS working group would like to thank everyone who contributed
to the previous Selectors specifications over the years..</p>
<!--
<p>In particular, the working group would like to extend special
thanks to
-->
-
+
<h2 id=references>
References</h2>
@@ -2283,4 +2283,4 @@
</body>
</html>
-
+
Received on Wednesday, 23 March 2011 21:38:28 UTC