Re: CSS Parsed Unambiguously

Chris Ridpath wrote:

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

If the CSS is valid, it can be parsed unambiguously. It is not 
necessarily true, that invalid CSS cannot be parsed unambiguously.

> I think that the stylesheet can be broken in some ways and still be 
> parsed properly as Björn suggested

Then the CSS will meet the SC.

> but it can also be so poorly written 
> that it can't be parsed properly.

Then the CSS will not meet the SC.

So the answer is: it depends :-)
-- 
Johannes Koch
In te domine speravi; non confundar in aeternum.
                             (Te Deum, 4th cent.)

Received on Friday, 9 June 2006 21:50:59 UTC