Thank you to those who responded. I had, indeed, neglected that CSS applies to more than just (X)HTML. Of course, a context free grammar cannot detect that a selector is wrong, nor can anything except a CFG be applied to an external CSS file. But compilers make context-sensitive tests all the time. Page-level CSS (this example) does have a context and "ody" is not a valid tag within any (X)HTML DOCTYPE. I suppose it's too much to ask overworked W3C staff to add context detection and testing, but is there anyone else out there who might want to save himself and others from typos and similar egregious errors? Thus I am in agreement with Paul Arzul and Olivier Thereaux. R. W. CrowlReceived on Saturday, 13 September 2008 05:20:10 GMT
This archive was generated by hypermail 2.2.0+W3C-0.50 : Friday, 20 March 2009 14:44:31 GMT