Re: [csswg-drafts] [css-sizing] Specify fun replaced element %-block-size behaviour. (#4177)

@bfgeek Not sure this is unspecified, isn't it how percentages are defined to work? The only cases where percentages aren't supposed to resolve is if the containing block's height depends on its content, but in this case it depends on its own containing block which is fine. And the intrinsic sizes of images is specced in https://www.w3.org/TR/CSS2/visudet.html#inline-replaced-width

> if 'width' has a computed value of 'auto', 'height' has some other computed value, and the element does have an intrinsic ratio; then the used value of 'width' is:
>    (used height) * (intrinsic ratio)

Marking invalid for now, lmk if I'm missing something.

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

Received on Thursday, 12 December 2019 23:46:56 UTC