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

Re: [css3-selectors] "recursive" selectors

From: Andy <aholmes84@shaw.ca>
Date: Tue, 29 Apr 2003 02:07:07 -0700
To: Boris Zbarsky <bzbarsky@mit.edu>, www-style@w3.org
Message-id: <3EAE40BB.6010706@shaw.ca>

Boris Zbarsky wrote:

> Andy wrote:
>
>>
>> Was just playing around with some ideas, and was wondering if/why 
>> can't CSS3 selectors select based on CSS properties? A useful example 
>> of what I'm talking about might be something like:
>>
>>    *:style(display: block) { margin: auto; }
>
>
> *:style(display: block) { margin: auto; }
> *:style(margin-left: auto) { display: inline; } 

Ok point taken, maybe selecting based on all CSS properties isn't 
perfect idea. But surely you can't disagree that selecting based on 
display type or the like is a bad? I still think even a

    *:display(block) { margin: auto; }

would be useful.
Received on Tuesday, 29 April 2003 05:06:41 GMT

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