W3C home > Mailing lists > Public > www-html-editor@w3.org > July to September 2002

(unknown charset) HTML4.01 erratum: <link rel=stylesheet title="" ...> should be persistent style sheet

From: (unknown charset) Tantek Çelik <tantek@cs.stanford.edu>
Date: Fri, 13 Sep 2002 19:40:26 -0700
To: (unknown charset) <www-html-editor@w3.org>, HTML WG <w3c-html-wg@w3.org>
Message-ID: <B9A7EFA9.17044%tantek@cs.stanford.edu>

In HTML4.01 section 14.3.2:

 http://www.w3.org/TR/html401/present/styles.html#h-14.3.2

It says:

<blockquote>

*    To make a style sheet persistent, set the rel attribute to "stylesheet"
and don't set the title attribute.

*    To make a style sheet preferred, set the rel attribute to "stylesheet"
and name the style sheet with the title attribute.

*    To specify an alternate style sheet, set the rel attribute to
"alternate stylesheet" and name the style sheet with the title attribute.

</blockquote>


The degenerate case of a style sheet with an empty title attribute, e.g.

 <link type="text/css" rel="stylesheet" title=""
href="http://www.w3.org/StyleSheets/Core/Chocolate">

is not well specified, as an preferred (or alternate style sheet) with an
empty name doesn't make any sense.


Proposal:

 Errata the above to state: "don't set the title attribute or leave it
empty."


Thanks,

Tantek
Received on Friday, 13 September 2002 22:33:53 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 27 March 2012 18:17:42 GMT