Re: [csswg-drafts] [css-flexbox] Percentage height resolution of children of flex items with indefinite flex basis (#6822)

> > Option 2 (WebKit): In this case the engine considers that as the flex item is 30px height, then the div with the percentage height should be 30px as well.
> 
> That's not what I get in my local webkit, I get 100px instead, it's resolving against the computed `height` of the flex item (minus paddings and borders for `box-sizing: border-box`).
> 
> This seems wrong to me, the percentage should either behave as `auto` (0px) or resolve against the actual size of the containing block (30px).

That's very likely because I've landed the `flex-basis: content` support just a few days ago so it was still not released in any WebKit browser.

-- 
GitHub Notification of comment by svillar
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/6822#issuecomment-973899831 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Friday, 19 November 2021 09:25:10 UTC