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

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

From: Boris Zbarsky <bzbarsky@MIT.EDU>
Date: Thu, 12 Apr 2012 22:31:09 -0400
Message-ID: <4F878FED.8000700@mit.edu>
To: www-style@w3.org
On 4/12/12 10:15 PM, Dirk Schulze wrote:
> 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.

I think the best approach here is to go forward with the quirks mode 
spec proposed at http://simon.html5.org/specs/quirks-mode and have 
browsers align on it.  The CSS parser spec would need to support 
whatever quirks end up standardized.

In particular, the "no unit" case does need to be handled in some 
properties for web compat (section 4.2 at the link above), but the 
"space between number and unit" does not, based on implementation 
experience.  Specifically, some UAs do not implement the latter quirk 
and it hasn't been a problem, hence that quirk is not needed in practice.

Seem reasonable?

Received on Friday, 13 April 2012 02:31:40 UTC

This archive was generated by hypermail 2.3.1 : Monday, 2 May 2016 14:38:57 UTC