W3C home > Mailing lists > Public > public-css-archive@w3.org > July 2020

Re: [csswg-drafts] [css-sizing] Import aspect-ratio from child image (#5269)

From: Tab Atkins Jr. via GitHub <sysbot+gh@w3.org>
Date: Mon, 27 Jul 2020 22:45:38 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-664676172-1595889937-sysbot+gh@w3.org>
Comments during the f2f pointed out a few wrinkles we need to worry about:

* out-of-flow elements shouldn't prevent this (a `figure` with an abspos `figcaption`, for example)
* collapsed whitespace shouldn't prevent this (it shouldn't matter whether the `<a>` and `<img>` tags are on a separate line in the source)

@emilio and @cbiesinger thought it would be kinda weird for this to care about collapsed whitespace specifically. @fantasai pointed out that we already care about this for margin-collapsing, for instance - collapsed whitespace between the container and the first child element doesn't prevent collapsing. Given this, I think it's okay to rely on the same behavior?

-- 
GitHub Notification of comment by tabatkins
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/5269#issuecomment-664676172 using your GitHub account
Received on Monday, 27 July 2020 22:45:39 UTC

This archive was generated by hypermail 2.4.0 : Tuesday, 5 July 2022 06:42:11 UTC