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

Re: CSS Parsed Unambiguously

From: Chris Ridpath <chris.ridpath@utoronto.ca>
Date: Mon, 12 Jun 2006 10:06:57 -0400
Message-ID: <008501c68e29$77480610$e29a968e@WILDDOG>
To: <w3c-wai-gl@w3.org>, "Christophe Strobbe" <christophe.strobbe@esat.kuleuven.be>

Christophe wrote:
> Because of the error handling rules at the second level, it seems to me 
> that only correct grammar is necessary for a CSS stylesheet to pass SC 
> 4.1.1. However, anything that does not pass at the second level (according 
> to the most recent CSS specification in your baseline) is outside the 
> baseline. Does this make sense?
>
I think I understand. If you follow this syntax then you pass:
http://www.w3.org/TR/1998/REC-CSS2-19980512/syndata.html

For example this would fail (missing semicolon):
H1 {
  font-weight: bold
  font-size: 12pt
}

This would pass (unknown declaration 'rotation' ignored):
H1 {
color: red;
rotation: 70minutes
}

This would fail (units for '3' not specified):
IMG { border-width: 3 }

Is that what you're suggesting?

Chris
Received on Monday, 12 June 2006 14:07:07 GMT

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