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).

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


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

Received on Thursday, 18 November 2021 14:13:13 UTC