- From: Andy <aholmes84@shaw.ca>
 - Date: Tue, 29 Apr 2003 02:07:07 -0700
 - To: Boris Zbarsky <bzbarsky@mit.edu>, www-style@w3.org
 
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 UTC