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

Error Parsing

From: Philippe Wittenbergh <jk7r-obt@asahi-net.or.jp>
Date: Fri, 22 Oct 2004 09:18:22 +0900
Message-Id: <E25D78B9-23BF-11D9-81D4-000D93C5385A@asahi-net.or.jp>
To: www-style@w3.org

Considering the following rule:
p {
color:red;
*/
}
Which is obviously malformed.
Should an UA ignore the entire rule set, or just ignore the loose */ ?
Most browsers tested display the paragraph in red.
Safari and Omniweb ignore the rule set.

Reading <http://www.w3.org/TR/CSS21/syndata.html#parsing-errors>,
I'm a bit in doubt in this particular case.

Philippe
--/--\--
Philippe Wittenbergh
blog : <http://emps.l-c-n.com/>
code | design | webprojects <http://www.l-c-n.com/>
IE5  Mac bugs and oddities <http://www.l-c-n.com/IE5tests/>
Received on Friday, 22 October 2004 00:26:02 GMT

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