Re: several messages

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:
   http://www.w3.org/1999/06/REC-xml-stylesheet-19990629/errata

-- 
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