W3C home > Mailing lists > Public > www-style@w3.org > April 2012

Re: [css3-syntax] Reviving the spec, starting with the parser

From: Dirk Schulze <dschulze@adobe.com>
Date: Thu, 12 Apr 2012 19:15:32 -0700
To: "Tab Atkins Jr." <jackalmage@gmail.com>
CC: www-style list <www-style@w3.org>
Message-ID: <BC70C662-0443-4A13-B412-99113AB63C33@adobe.com>
Hi Tab,

David Baron already mentioned it on one of one of his twitter posts. The number parsing does not respect scientific notations. Scientific notations are not part of CSS yet but are used by SVG presentation attributes. Some browsers (I bet all) use the capability of their CSS parsers to parse the SVG presentation attributes as well. That is the case for WebKit and IIRC for Gecko as well. Another difference beside scientific numbers is that SVG allows unit less values in some cases. Do you plan to address these needs of browsers as well?

Another part is the "quirks mode" that some browsers provide for backward compatibility (for instance for content that was created for internet explorer). On WebKit this "quirks mode" allows spaces between value and units, missing units and some other more tolerant behavior. How does this fit into the syntax specification? What is your advice here?

Greetings,
Dirk



On Apr 12, 2012, at 6:30 PM, Tab Atkins Jr. wrote:

> To help address the fact that the minimal HTML document I was writing
> was hard to read and didn't have cross-refs and such, I've gone ahead
> and generated a brand new spec document containing the tokenizer.
> 
> Find it at <http://dev.w3.org/csswg/css3-syntax/>.
> 
> ~TJ
> 
Received on Friday, 13 April 2012 02:16:03 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 17:20:52 GMT