Media types vs. conformance/performance?


| In general, the following points must be observed by a user
| agent claiming conformance to this specification:
|  2. For each source document, it must attempt to retrieve all
|     associated style sheets that are appropriate for the
|     supported media types.

It is impossible to do so, if the user-agent does not retrieve _all_
associated style sheets since a screen media style sheet may may include
a style sheet for aural media and that style sheet may include one for
tty media and so on. For example

  <link rel="stylesheet" media="aural" href="foo.css" />

Where foo.css is like

  @import url("beautiful.css") screen;

and foo.css includes

  @import url("tv.css") tv;

So it makes very small sense to define a media type when linking a style
sheet. Authors must use @media rules to define the media type of a style

| So that user agents can avoid retrieving resources for unsupported
| media types, authors may specify media-dependent @import rules.

This is an invalid statement. Authors must define media="all" if rules
apply to all media types. The default value of the media attribute in
(X)HTML and so XML is "screen".

Now let's say I'm using a screen media user-agent and tell it to print
the document. What media type is the user-agent of now? Screen and print
or just screen? What if the user-agent is only a print media user-agent
and never presents anything on any screen? Is the user-agent then also
of type screen and print? Or should the user-agent ignore all rules for
screen media when printing? This leads me as an author to say I always
have to declare media="all" if the style sheet is not very special for a
certain media. What style sheets apply for handheld media? What style
sheets apply if this handhelds attempts to print the document?

Or should the user-agent not care about media types and apply all
properties for the supported media groups? If so, it makes no sense at
all to define media types.

If a tv media user-agent attempts to print a document and has to apply
all rules for tv, screen and print media how do the rules cascade? By
there order, specifity and so on? So a screen media style sheet may
override a print media style sheet when the user-agent prints the

I hope i have missed something, I appreciate any comment, regards,
Björn Höhrmann ^ ^
am Badedeich 7 ° Telefon: +49(0)4667/981ASK °
25899 Dagebüll # PGP Pub. KeyID: 0xA4357E78 # +{i}
--- Only connect! That was the whole of the sermon. -- E. M. Forster ---

Received on Sunday, 1 October 2000 12:55:41 UTC