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

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