W3C home > Mailing lists > Public > www-style@w3.org > February 2001

Direct adjacent sibling selector (+)

From: fantasai <fantasai@escape.com>
Date: Mon, 26 Feb 2001 21:34:08 -0500
Message-ID: <3A9B1220.265614F5@escape.com>
To: www-style@w3.org
<blockquote>
  Adjacent sibling selectors have the following syntax: 
  E1 + E2, where E2 is the subject of the selector. The 
  selector matches if E1 and E2 share the same parent in 
  the document tree and E1 immediately precedes E2. 
</blockquote>

Would E2 be selected by E1 + E2 for
<Parent>
  <E1/>
  Some text
  <E2/>
</Parent>
?
Received on Monday, 26 February 2001 21:33:15 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 27 April 2009 13:54:08 GMT