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

Re: arguments and embedding

From: Wilford Brimley <wilfordbrimley@one2one3.com>
Date: Mon, 4 Dec 2006 00:05:58 -0800
Message-Id: <B2136248-E5C9-487F-8F58-D57D01EC2797@one2one3.com>
To: www-style@w3.org

class = "one two three four....."

> Heavy repetition in CSS generally indicates either that the styling
> is capricious and doesn't reflect the structure, or simply a  
> failure to
> factor the CSS properly, by listing multiple selectors against a
> single rule.
>
thats not neccessarily the case..
i.e
border-left: 1px solid #abcdef;
border-right: 1px solid #abcdef;

i'm not going to dig for better examples since this is at the point  
of immediate dismissal.


> More generally, this sort of macro processing can be done server  
> side or
> even in the authoring tool, without having to change the over the wire
> format.
>
well, yeah, what can't be. thats what i'm doing.. its just that  
adding a css generation step every time a change is made is sort of a  
hassle.

substitution seems compact and simple enough to merit consideration.  
skip any typing, make everything strings...doesn't seem like that  
drastic of a change. as far as implementation goes, its not a  
rendering issue that ms could mess up...just a single pass substitution.

there is that demand for rounded corners though, so i understand if  
this doesn't make it in.
Received on Monday, 4 December 2006 08:05:49 GMT

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