W3C home > Mailing lists > Public > www-style@w3.org > January 2004

Re: [css3] Proposal: Additional adjacent combinator (E - F)

From: Daniel Glazman <danielglazman@easyconnect.fr>
Date: Tue, 27 Jan 2004 15:14:04 +0100 (CET)
To: jens.meiert@erde3.com
Message-ID: <1075212844.4016722c0fffb@webmail.easyconnect.fr>
Cc: www-style@w3.org

Jens Meiert wrote:

> Encountering several scenarios where this might be
> useful, I thought about the need for another type of
> selector, which also complies with an direct adjacent
> combinator. According to the CSS3 selectors
> specification [1], this selector could be defined as
>   E - F
>   An element E whose adjacent sibling F immediately
>   follows it
> Is it worth consideration, or did I miss something? 

Oh, don't worry, it makes **a lot** of sense. What you
really want here is to make the subject of the selector
E + F   become E instead of F.

I proposed that eons ago, and even have implemented it
my transformation language called STTS (aka "number 19").
It was even included in the very first draft of CSS 3
selectors but was later removed due to implementation

I hope we'll be able to have that in CSS before the day
I retire :-)

Received on Tuesday, 27 January 2004 17:27:36 UTC

This archive was generated by hypermail 2.3.1 : Monday, 2 May 2016 14:27:11 UTC