Re: Proposal: @property(value) Selector

On 1/24/10 3:55 PM, Alex Mitchell wrote:
> In the future (CSS3 possibly), there should be a new type of selector
> added: the @property(value) selector. This selector would select
> everything where the value of "property" equals the value of "value".
> For example,
>
> @font-weight(bold) {
> letter-spacing:-1px;
> }

What does:

   @font-weight(bold) {
     font-weight: normal;
   }
   @font-weight(normal) {
     font-weight: bold;
   }

do?

Point being that you sort of have to finish selector matching before you 
can figure out what the value of a property is.

-Boris

Received on Monday, 25 January 2010 03:27:01 UTC