- From: David Woolley <forums@david-woolley.me.uk>
- Date: Wed, 20 May 2009 10:30:43 +0100
- To: www-style@w3.org
Phlip wrote: > > The problem with this approach is CSStidy did not reach into my HTML and > merge all the redundant style class attributes. That means if the old If by that you meant that it should rename classes which actually result in the same style, that cannot be done with properly authored CSS because no tool can deduce the semantics of a class, and only classes with exactly the same semantics should be merged. With badly written CSS, it could make things worse by merging "danger" and "bold red" into "bold red" when the correct action may be to merge them into "danger". > system had the same class repeated many times with different names, the > new system still uses that. I'm bloody aware that a CSS tool cannot > reach into my raw HTML source (which happens to be HAML), but a feeb > attempt would have been nice. Thots? > -- David Woolley Emails are not formal business letters, whatever businesses may want. RFC1855 says there should be an address here, but, in a world of spam, that is no longer good advice, as archive address hiding may not work.
Received on Wednesday, 20 May 2009 09:31:50 UTC