W3C home > Mailing lists > Public > www-dom@w3.org > April to June 1998

HTML DOM and HTML4.0

From: Claude Zervas <claude@utlco.com>
Date: Tue, 09 Jun 1998 00:51:53 -0700
Message-Id: <3.0.3.32.19980609005153.00928830@mail.blarg.net>
To: www-dom@w3.org
Hello,

The HTML DOM defines quite a few (most) attributes
for HTMLElement subclasses that have been deprecated
in HTML4.0 in favor of stylesheets. The HTML DOM prose
states that it is following the HTML4.0 draft yet
most of the HTML DOM spec is HTML3.2 based. Is this
just legacy compatibility?

For example, should HTMLBodyElement.setText( "black" )
actually set the value of a deprecated attribute or
should it hook into the inline style mechanism?
ie. should the HTML look like:

<BODY text="black"> ... </BODY>

or

<BODY style="color: black"> ... </BODY>

Thanks,
Claude Zervas, UTL Co., Seattle
Received on Tuesday, 9 June 1998 03:44:42 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Friday, 22 June 2012 06:13:45 GMT