W3C home > Mailing lists > Public > www-html@w3.org > April 2001

Re: 14.3.2 Specifying external style sheets - error?

From: Barry Kaminsky <polisource@mail.hypermart.net>
Date: Sat, 14 Apr 2001 22:00:35 -0400
Message-Id: <A42E45E5A3135D115A150005B8CCB320@polisource.mail.hypermart.net>
To: fantasai@escape.com, www-html@w3.org
I noticed the quote "name the style sheet with the title attribute." 
began with a lower-case n. Did the sentence begin with "You may..."? 
Maybe it was just telling you how to name it if you choose to. "When 
a user selects a named style..." implies that naming styles isn't 
necessary. The first alone will be applied when it doesn't share a 
name--I assume.

---- Begin Original Message ----

From: fantasai <fantasai@escape.com>
Sent: Sat, 14 Apr 2001 20:07:36 -0400
To: www-html@w3.org
Subject: 14.3.2 Specifying external style sheets - error?


Given this:

<link rel="stylesheet" title="Preferred" type="text/css" href="a.css">
<link rel="stylesheet" title="Preferred" type="text/css" href="b.css">

 "If two or more LINK elements specify a preferred style sheet, 
  the first one takes precedence." [section 14.3.2]

requires that only the a.css be applied. However, both must be 
applied because they are part of the same named group:

 "Authors may group several alternate style sheets (including 
  the author's preferred style sheets) under a single style name.
  When a user selects a named style, the user agent must apply 
  all style sheets with that name." [section 14.3.1]

 "name the style sheet with the title attribute." [section 14.3.2]

resulting in a contradiction.

The intent, I believe, was to state that if two or more
groups of preferred style sheets are specified, the first
one takes precedence.

---- End Original Message ----

Bookmark the HyperMart Small Business Center. All the tools you need to
Received on Saturday, 14 April 2001 22:02:16 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 15:05:56 UTC