W3C home > Mailing lists > Public > www-style@w3.org > March 2003

How to interpret E:enabled:first-of-type

From: Ernest Cline <ernestcline@mindspring.com>
Date: Tue, 4 Mar 2003 01:02:26 -0500
To: www-style@w3.org
Message-ID: <3E63FB22.11613.234DF19@localhost>

In CSS3 Selectors, I can see two possible interpretations of

One is that it returns the first enabled element of type E. That is, this
selects the first child that matches E:enabled.

The second is that it returns the first child of type E provided that it
is enabled.

I don't see anything in the specification that would prefer one over the
other altho, If the first is the correct interpretation, then I can get the
effect of the second in this case with the selector E:first-of-type:enabled.
If the second is the correct interpretion, I can't see anyway to get the
effect of the first interpretation.

Can anyone shed light over what should happen and/or what does happen if
there is a browser that implements this yet?
Received on Tuesday, 4 March 2003 01:03:20 UTC

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