- From: Eric A. Meyer <eam3@po.cwru.edu>
- Date: Wed, 26 Nov 1997 10:20:50 -0500
- To: www-style@w3.org
>Would it not be easier to grok the syntax if the sequential selector were a
>single '/' for "following" and '//' for "immediately following"? E.g.:
>
> H1 / P { ... /* P following H1 */
>
> H1 // P { ... /* P immediately following H1 */
>
> DIV ~ P { ... /* P as any direct child of DIV
>
> DIV ~/ P {... /* P as first direct child of DIV */
>
> DIV ~// P {... /* P as immediately-following first child of DIV */
I think David's on to something here. These do seem to make more sense
than the current syntax, and are probably easier for humans to write.
Here's a question, though. Assume that the above syntax is adopted. Would
these be valid constructs and translations thereof?
DIV /~ P {... /* P as direct child of any element following DIV */
DIV //~ P {... /* P as direct child of any element immediately
following DIV */
...or have I pushed things too far again?
--
Eric A. Meyer - eam3@po.cwru.edu - http://www.cwru.edu/home/eam3.html
Hypermedia Systems Manager
Digital Media Services http://www.cwru.edu/dms/dms.html
Case Western Reserve University http://www.cwru.edu/
Received on Wednesday, 26 November 1997 10:21:29 UTC