W3C home > Mailing lists > Public > public-css-archive@w3.org > December 2019

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

From: fantasai via GitHub <sysbot+gh@w3.org>
Date: Thu, 12 Dec 2019 23:46:54 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-565238045-1576194413-sysbot+gh@w3.org>
@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

This archive was generated by hypermail 2.4.0 : Tuesday, 5 July 2022 06:41:57 UTC