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 14:08:15 -0400
Message-ID: <3B3CC40F.5698C1D6@escape.com>
To: www-style@w3.org
Manos Batsis wrote:
> > -----Original Message-----
> > From: fantasai [mailto:fantasai@escape.com]
> > 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.
> So I guess you 'vote' for the type attribute when more than one
> stylesheets are present?

It's not a question of voting for the type attribute. If the
UA cannot handle a CSS stylesheet, but can handle an XSLT one,
then when given both it should ignore the CSS and use the XSLT.
The presence or absence of the type attribute has nothing to do
with it.

> > 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.
> Does this means that the author will be responsible on putting his
> preferred stylesheet (language) before others?


> Wouldn't it be better to give priority to a transformation language
> when having to do with XML?

I think the author would have better knowledge of which
stylesheet is more important than the UA would, however
enlightened its prioritized list of languages may be.

> > 3.) If the language cannot cope with multiple stylesheets,
> >     then only the first linked stylesheet is used.
> Again this moves all responsibility to the author and the order he
> writes his PIs.

Where, IMO, the "responsibility" should lie.
> > Alternatively, later stylesheets could be favored.
> Can you please give an example on this one? Sorry, I don't really get
> it.

Go back and replace "first" with "last" in my message.
Received on Friday, 29 June 2001 14:06:15 UTC

This archive was generated by hypermail 2.3.1 : Monday, 2 May 2016 14:26:58 UTC