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

RE: [css3-values] Browsers allow unitless lengths in quirks mode

From: Sylvain Galineau <sylvaing@microsoft.com>
Date: Mon, 27 Feb 2012 16:16:23 +0000
To: Aryeh Gregor <ayg@aryeh.name>
CC: "www-style@w3.org" <www-style@w3.org>
Message-ID: <3C4041FF83E1E04A986B6DC50F0178290343C08A@TK5EX14MBXC295.redmond.corp.microsoft.com>

[Aryeh Gregor:]
> 
> On Fri, Feb 3, 2012 at 12:27 PM, Boris Zbarsky <bzbarsky@mit.edu> wrote:
> > Interesting.  https://bugzilla.mozilla.org/show_bug.cgi?id=99554 is
> > where the quirk was added, and at the time IE most definitely allowed
> > curlies in @style.
> >
> > I just tested IE, and IE9 in "IE9" browser mode and "Quirks" document
> > mode does not have this quirk... the first time I load the page.
> >
> > But IE has the quirk in "Quirks" and "IE7" document modes in all of
> > the other three browser modes, and now that I tried those it also has
> > the quirk if I put it back in "IE9" browser mode (in the "Quirks" and
> > "IE7" document modes).  It's all pretty confusing.
> >
> > If WebKit in fact doesn't have this quirk, which seems to be the case
> > at first glance, then maybe we can remove it without too much in the
> > way of compat issues...
> 
> I was testing in IE10 Developer Preview, with no doctype and no manual
> mode override.  It could be that real-world pages that require this quirk
> will cause IE10 to switch to its IE6 or IE7 mode for other reasons.  Or
> maybe IE10 just isn't web-compatible and they haven't realized yet.
> 
That mean you would be in intereoperable quirks [1], not the legacy IE5 quirks.
If you switch to the latter then you'll see curly @style values apply. Maybe
we haven't run into those sites yet, or maybe content that depends on this is 
no longer an issue. 

[1] http://blogs.msdn.com/b/ie/archive/2011/12/14/interoperable-html5-quirks-mode-in-ie10.aspx

Received on Monday, 27 February 2012 16:17:13 GMT

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