W3C home > Mailing lists > Public > w3c-wai-gl@w3.org > April to June 2006

Re: CSS Parsed Unambiguously

From: <boland@nist.gov>
Date: Sat, 10 Jun 2006 10:57:15 -0400
Message-ID: <1149951434.448addcb038f6@webmail.nist.gov>
To: w3c-wai-gl@w3.org

The behavior of a CSS stylesheet should be well-defined in all cases, 
according to the applicable CSS specification.

A CSS stylesheet should be valid if it does not have syntax errors or grammar 
errors, uses the vocabulary correctly, and meets any other conformance 
requirements, as defined by the applicable CSS specification.

Thanks and best wishes
Tim Boland NIST


Quoting Chris Ridpath <chris.ridpath@utoronto.ca>:

> 
> Johannes  wrote:
> > I just saw that 
> > <http://www.w3.org/TR/CSS21/conform.html#valid-style-sheet> defines "Valid
> 
> > style sheet".
> >
> OK. So we know for sure what valid is. But is valid the same as "parsed 
> unambiguously"?
> 
> Björn wrote:
> > Your question is basically whether it is possible for a resource that is
> > not considered conforming / valid / whatever to be "parsed into only one
> > data structure" and the answer is "yes" and, in consequence, stylesheets
> > do not have to be "valid" with respect to this requirement.
> > -- 
> 
> I think that the stylesheet can be broken in some ways and still be parsed 
> properly as Björn suggested but it can also be so poorly written that it 
> can't be parsed properly. Browsers will have to guess at what it means and 
> different browsers will guess differently. So invalid CSS may, or may not, 
> be "parsed unambiguously".
> 
> This is getting back to the same problem with the meaning of "parsed 
> unambiguously" regarding XHTML pages. My feeling is that validity is a good 
> thing but a burden on the author that should be imposed only when there is a
> 
> benefit to accessibility.
> 
> Has there been any progress on clarifying what "parsed unambiguously" means 
> to your XHTML page?
> 
> Chris
> 
> 
> 
> 
Received on Saturday, 10 June 2006 14:57:24 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 7 December 2009 10:47:46 GMT