Skip to content

Commit 2a7e9b8

Browse files
committed
[css2] Issue 113 (definition of "&&")
--HG-- extra : convert_revision : svn%3A73dc7c4b-06e6-40f3-b4f7-9ed1dbc14bfc/trunk%402936
1 parent 2b6b868 commit 2a7e9b8

1 file changed

Lines changed: 8 additions & 4 deletions

File tree

css2/about.src

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<!DOCTYPE html PUBLIC '-//W3C//DTD HTML 4.01//EN'>
22

33
<html lang="en">
4-
<!-- $Id: about.src,v 2.76 2009-01-16 18:17:51 bbos Exp $ -->
4+
<!-- $Id: about.src,v 2.77 2009-04-22 12:58:49 bbos Exp $ -->
55
<HEAD>
66
<TITLE>About the CSS&nbsp;2.1 Specification</TITLE>
77
</HEAD>
@@ -191,14 +191,17 @@ given order.
191191
exactly one of them must occur.
192192
<li>A double bar (||) separates
193193
two or more options: one or more of them must occur, in any order.
194+
<li>A double ampersand (&&) separates two or more values all of which
195+
must occur, in any order.
194196
<li>Brackets ([&nbsp;]) are for grouping.
195197
</ul>
196198

197-
<P>Juxtaposition is stronger than the double bar, and the double bar
199+
<P>Juxtaposition is stronger than the double ampersand, the double
200+
ampersand is stronger than the double bar, and the double bar
198201
is stronger than the bar. Thus, the following lines are equivalent:
199202
<PRE>
200-
a b | c || d e
201-
[ a b ] | [ c || [ d e ]]
203+
a b | c || d && e f
204+
[ a b ] | [ c || [ d && [ e f ]]]
202205
</PRE>
203206

204207
<P> Every type, keyword, or bracketed group may be followed by one of
@@ -232,6 +235,7 @@ the following modifiers:</p>
232235
<EM>Value:</EM> [&lt;family-name&gt; , ]* &lt;family-name&gt;<BR>
233236
<EM>Value:</EM> &lt;uri&gt;? &lt;color&gt; [ / &lt;color&gt; ]?<BR>
234237
<EM>Value:</EM> &lt;uri&gt; || &lt;color&gt;<BR>
238+
<EM>Value:</EM> inset? && [ &lt;length&gt;{2,4} && &lt;color&gt;? ]
235239
</BLOCKQUOTE>
236240

237241
<p>Value types are specified in terms of tokens, as described in <a

0 commit comments

Comments
 (0)