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