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

Re: several messages

From: Ian Hickson <ian@hixie.ch>
Date: Wed, 27 Jun 2001 01:29:25 -0700 (Pacific Daylight Time)
To: Jeffrey Yasskin <jyasskin@appcomp.com>, Manos Batsis <m.batsis@bsnet.gr>
cc: "'www-style@w3.org'" <www-style@w3.org>
Message-ID: <Pine.WNT.4.31.0106270119280.1068-100000@HIXIE.netscape.com>
On Mon, 25 Jun 2001, Jeffrey Yasskin wrote:
> Maybe the spec should state that UAs should ignore any stylesheets
> whose language they do not understand.

It does. The problem is when the UA _does_ understand them.

> Apparently there is a way to set the default stylesheet language.
> (http://www.w3.org/TR/html4/present/styles.html#h-14.2.1) I've never
> seen it used, but it may be applicable to this discussion.

Mozilla supports this. It unfortunately does not solve the problem.

On Tue, 26 Jun 2001, Manos Batsis wrote:
> Is the media attribute applicable in the examples Ian provided?

The media attributes adds another axis to the complication, like the
title and alternate attributes, but does not help solve the solution.

> It's logical to ignore the CSS if the XSLT is preferred in the
> situation (as a web browser)

Some people may prefer the opposite (CSS if available, otherwise
XSLT). Document order may help with this. However the problem is
bigger than that, as I described.

> This would actually be good for me as a developer, since I could
> specify style for every possible media in that CSS.

See the media queries working draft from the CSS working group.

> Besides, the XSLT could have the 'result tree' link to the CSS after
> the transformation (if the CSS has style relative to 'screen').

Yes, this adds another level of complication. I mentioned this in my
post too.

Note that CSS applies to media other than screen. Such as "aural",
"print" or "braille". (CSS covers more medias than XSL:FOs.)

On Tue, 26 Jun 2001, Jeffrey Yasskin wrote:
> By the way, the type attribute of the xml-stylesheet PI is required. See
> http://www.w3.org/TR/xml-stylesheet/.

No, it is not. See:

Ian Hickson                                     )\     _. - ._.)       fL
Netscape, Standards Compliance QA              /. `- '  (  `--'
+1 650 937 6593                                `- , ) -  > ) \
irc.mozilla.org:Hixie _________________________  (.' \) (.' -' __________
Received on Wednesday, 27 June 2001 04:29:50 UTC

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