W3C home > Mailing lists > Public > www-style@w3.org > June 2001

Re: HTML <link rel="stylesheet"> underspecified with multiple languages

From: fantasai <fantasai@escape.com>
Date: Fri, 29 Jun 2001 10:07:04 -0400
Message-ID: <3B3C8B88.6538D2F@escape.com>
To: www-style@w3.org
Ian Hickson wrote:
>
> HTML4's <link> element (when used to specify stylesheets), and
> thus the <?xml-stylesheet> PI, is underspecified in two particular
> critical cases and one useful case: first, multiple stylesheets
> when one is in a language that does not cope with multiple
> stylesheets, second, multiple stylesheets in different languages[1],

This is what I think should happen:

1.) UA determines which stylesheets are applicable according
    to persistent/preferred/alternate rules, media, and 
    supported style languages.
2.) If there are stylesheets from more than one language
    applicable, the UA uses only stylesheets from the first
    language encountered (all of them). This follows the 
    precedent of "preferred" stylesheets--the first preferred
    sheet is applied, as are any other later stylesheets that
    are part of that set.
3.) If the language cannot cope with multiple stylesheets,
    then only the first linked stylesheet is used.

Alternatively, later stylesheets could be favored.
Received on Friday, 29 June 2001 10:05:17 GMT

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