- From: Anne van Kesteren <annevk@opera.com>
- Date: Mon, 28 Jan 2008 00:53:19 +0100
- To: "Justin Rogers" <justrog@microsoft.com>, "Brad Kemper" <brkemper@comcast.net>, "www-style@w3.org Style" <www-style@w3.org>
On Sun, 27 Jan 2008 22:40:24 +0100, Justin Rogers <justrog@microsoft.com> wrote: > -- Most interesting of Brad's additional test cases > @media all { /* open scope +1 */ > @ /* invalid token, go into selector error recovery which looks for a > block */ > } /* close scope from @media */ > > Because of the last scope closure, it ends the error recovery started at > the invalid @ symbol (read as IMHO I think it should end the error > recovery since others can certainly beg to differ). All subsequent rules > after it should be parsed normally so I would say the DIV should be > green. No. } is part of the bogus selector, it does not close the @media block. (You can replace @ with "x", etc., fwiw.) -- Anne van Kesteren <http://annevankesteren.nl/> <http://www.opera.com/>
Received on Sunday, 27 January 2008 23:50:32 UTC