- From: L. David Baron <dbaron@dbaron.org>
- Date: Tue, 5 Feb 2013 20:27:04 -0700
- To: Franรงois REMY <francois.remy.dev@outlook.com>
- Cc: "Tab Atkins Jr." <jackalmage@gmail.com>, www-style list <www-style@w3.org>
On Tuesday 2013-02-05 20:21 -0700, L. David Baron wrote: > I think the main argument for wanting a loose syntax is that there's > less to validate during the initial parsing (and finding the extent > of the variable). I believe that with the current grammar, all the > implementation needs to do is track (), [], and {}, and: > * check that they are balanced > * when the stack is empty, look for ; and } as a terminator > * when the stack is empty, reject CDO and CDC (though I proposed > right after the end of today's meeting, and in > http://lists.w3.org/Archives/Public/www-style/2013Feb/0196.html , > that we eliminate this). Sorry, I missed a fourth item: * reject anything with BAD_STRING, BAD_URI, and BAD_COMMENT tokens -David -- ๐ L. David Baron http://dbaron.org/ ๐ ๐ข Mozilla http://www.mozilla.org/ ๐
Received on Wednesday, 6 February 2013 03:27:29 UTC