W3C home > Mailing lists > Public > www-style@w3.org > December 2006

arguments and embedding

From: <wilfordbrimley@one2one3.com>
Date: Thu, 30 Nov 2006 12:24:49 -0800 (PST)
Message-ID: <50704.208.64.184.83.1164918289.squirrel@webmail.one2one3.com>
To: www-style@w3.org

i'm wondering if anything like the following is being looked at for future
versions, or if anything similar already exists.

faceA = "comic sans"
faceB = "curlz"

..primaryFont(size) {
	font: size faceA;
}

..secondaryFont(size) {
	font: size faceB;
}

..paragraph {
	margin: 5px;
	.secondaryFont('12px');
}

..title(color) {
        color: color;
        padding: 5px;
        .secondaryFont('18px');
}


Even if the embedding was too much, at least it would be nice to have
something like this possible:

..spacer(size) {
	clear: both;
	height: size;
}

I'm mainly wondering how all the current repetition in css is being
addressed. Any information or links would be appreciated.
sincerely,
horatio
Received on Saturday, 2 December 2006 01:50:38 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 27 April 2009 13:54:47 GMT