W3C home > Mailing lists > Public > www-style@w3.org > September 1999

Re: CSS -> older HTML

From: Daniel Glazman <Daniel.Glazman@der.edfgdf.fr>
Date: Sun, 12 Sep 1999 02:16:13 +0200 (MET DST)
Message-Id: <199909120016.CAA08683@cli51ak.der.edf.fr>
To: bckman@ix.netcom.com (Frank Boumphrey)
Cc: zoltan@netcom.ca, www-html@w3.org, www-style@w3.org
> You should be able to do this with a fairly simple Perl or JavaScript.
> 
> if you want to do it on the fly then ASP should be able to manage it

Hmm. A fairly simple Perl or javascript ? I think I can understand the
Javascript answer (a document contains a DOM2 code and is
self-modified by that code) but I don't think that a simple Perl pgm
doing the same thing is easy to do.

First you need to parse the HTML (ok, modules already exist), the
parse all the stylesheet, apply the cascade, apply conflict rules with
HTML attributes, use inheritance rules, etc...

The example Zoltan gave is fairly simple but the general case is much
more complex...

</Daniel>
Received on Saturday, 11 September 1999 20:17:45 GMT

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