W3C home > Mailing lists > Public > www-style@w3.org > November 2015

Re: [css-flexbox] percentage flex basis and quirks mode...

From: Simon Pieters <simonp@opera.com>
Date: Wed, 25 Nov 2015 19:32:01 +0100
To: www-style@w3.org, "Boris Zbarsky" <bzbarsky@mit.edu>
Message-ID: <op.x8n5rnchidj3kv@simons-mbp>
On Wed, 26 Aug 2015 21:13:59 +0200, Boris Zbarsky <bzbarsky@mit.edu> wrote:

> On 8/4/15 6:22 PM, Christian Biesinger wrote:
>> We have a flex basis of 0% for the two items. Since this is quirks
>> mode, the percentage resolves even though the flexbox does not have a
>> definite size.
>
> Why does quirks mode affect anything here?  I thought the %-of-auto  
> quirk was restricted to only certain properties in certain contexts....

I haven't investigated this particular case, but I can note that %-of-auto  
quirk doesn't work in WebKit and Blink as it does in Gecko. The spec for  
this quirk  
https://quirks.spec.whatwg.org/#the-percentage-height-calculation-quirk is  
trying to align more with Gecko.

Fixing this in Blink turns out to affect lots of test cases, so it seems  
there is no activity on that front currently. :-(
https://code.google.com/p/chromium/issues/detail?id=324922#c6

-- 
Simon Pieters
Opera Software
Received on Wednesday, 25 November 2015 18:32:55 UTC

This archive was generated by hypermail 2.4.0 : Monday, 23 January 2023 02:14:55 UTC