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

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 UTC