- From: David Hyatt <hyatt@apple.com>
- Date: Tue, 01 Jul 2008 16:09:18 -0500
- To: "www-style@w3.org list" <www-style@w3.org>
On Jul 1, 2008, at 3:59 PM, David Hyatt wrote:
>
> (2) How to use the declaration block:
>
> (a) Make up a fake property.
>
> h1 {
> includes: headers;
> font-size: 24px;
> }
>
> (b) Make up a selector "annotation" notation
>
> h1 includes headers {
> font-size: 24px;
> }
>
> (c) Make up some other kind of syntax
>
> h1 {
> @includes headers;
> font-size: 24px;
> }
>
> I believe (b) is the most elegant notation. The only disadvantage
> of (b) is that you would not be able to control the precise ordering
> (i.e., the properties would just occur at the front always and could
> not be precisely placed).
(b) would also not be usable from within inline style declarations,
but I also think that is reasonable.
dave
(hyatt@apple.com)
Received on Tuesday, 1 July 2008 21:10:28 UTC