W3C home > Mailing lists > Public > html-tidy@w3.org > July to September 1999

Re: Tidy doesnt require 'type' on 'style'

From: Bjoern Hoehrmann <hoermi@arcormail.de>
Date: Thu, 8 Jul 1999 20:38:03 +0200
Message-ID: <012d01bec971$0d5fc460$c7e0a8c0@de>
To: "Bjoern Hoehrmann" <derhoermi@gmx.net>
Cc: <html-tidy@w3.org>
| I suggest to insert a type="text/css" automatically.

If No doctype or Html4+ is requestet. When the Doctype is set to Html32 it
would be illegal to add a type attribute, so it might be useful if a doctype
check is added:

    if (!type && lexer->doctype > VERS_HTML32)

instead of my suggested

|    if (!type)

regards,
 Bjoern Hoehrmann
Received on Thursday, 8 July 1999 14:39:20 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 3 April 2012 06:13:42 GMT