- From: Alex Mitchell <skid.biker.7@gmail.com>
- Date: Sun, 24 Jan 2010 12:55:04 -0800
- To: www-style@w3.org
Received on Monday, 25 January 2010 02:31:52 UTC
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; } would select everywhere the 'font-weight' was specified to 'bold' and change the 'letter-spacing' to '-1px'. Of course, the rule could still be overridden by specifying a value for 'letter-spacing' in another, more specific selector just like all other rules.
Received on Monday, 25 January 2010 02:31:52 UTC