W3C home > Mailing lists > Public > www-style@w3.org > July 2004

[CSS21] Error handling of missing style sheets

From: Mark Moore <mark.moore@notlimited.com>
Date: Wed, 14 Jul 2004 16:27:20 -0700
To: <www-style@w3.org>
Message-Id: <20040714233023.C30F3A1AD7@frink.w3.org>

According to section 3.2:

<blockquote>
2.	For each source document, it must attempt to retrieve all associated
style sheets that are appropriate for the supported media types. If it
cannot retrieve all associated style sheets (for instance, because of
network errors), it must display the document using those it can retrieve.
</blockquote>


According to section 3.3:

<blockquote>
In general, this document does not specify error handling behavior for user
agents (e.g., how they behave when they cannot find a resource designated by
a URI). 

However, user agents must observe the rules for handling parsing errors. 

Since user agents may vary in how they handle error conditions, authors and
users must not rely on specific error recovery behavior.
</blockquote>


I would suggest changing 3.2 to clarify whether partial style sheets (e.g.
network error occurs during retrieval) should be discarded or used.  I would
recommend they be discarded.

I would suggest two changes to 3.3:

1) Change the second sentence to mention handling of missing style sheets
(e.g. " However, user agents must observe the rules for handling parsing
errors and unretrievable style sheets.")

2) Clarify whether the specified parsing errors, or missing style sheets are
expected or permitted to raise any exception to the User.
Received on Wednesday, 14 July 2004 19:30:24 GMT

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