- From: L. David Baron <dbaron@dbaron.org>
- Date: Tue, 12 Sep 2006 09:52:00 -0700
- To: www-style@w3.org
Received on Tuesday, 12 September 2006 16:52:22 UTC
On Saturday 2006-09-09 22:37 +0200, Damiano Albani wrote: > In the process of upgrading a CSS parser to make it "understand" CSS > 3, I'm looking for a grammar. For what it's worth, I don't know of a formal grammar that accurately reflects the forward-compatible parsing rules. The ones published in CSS1, CSS2, and css3-syntax don't. I'd like css3-syntax to eventually do so. So the spec grammars aren't particularly useful for implementation, and never have been. That said, those implementations that have written their CSS parsers using flex or similar tools probably have such a grammar. There just hasn't been one contributed to the spec. -David -- L. David Baron <URL: http://dbaron.org/ > Technical Lead, Layout & CSS, Mozilla Corporation
Received on Tuesday, 12 September 2006 16:52:22 UTC