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

Re: [csswg-drafts] [css-sizing-4] Should aspect-ratio apply for width: auto; height: auto;? (#5060)

From: Daniel Holbert via GitHub <sysbot+gh@w3.org>
Date: Mon, 18 May 2020 18:48:04 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-630370683-1589827683-sysbot+gh@w3.org>
(I'm not entirely sure the 100%-svg-flex-basis thing is a Firefox bug, actually. Firefox renders these two testcases the same, which makes sense to me; whereas Chrome renders them differently [and agrees with us on the first but not the second]. The only difference between the two is `flex` vs. `block`.  The interoperable behavior on the first is basically the `100%` behavior that I was talking about.)
```
data:text/html,<!DOCTYPE html><div style="display:block;width:500px"><svg style="border:3px solid black;" viewBox="0 0 1 1">
data:text/html,<!DOCTYPE html><div style="display:flex;width:500px"><svg style="border:3px solid black;" viewBox="0 0 1 1">
```


-- 
GitHub Notification of comment by dholbert
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/5060#issuecomment-630370683 using your GitHub account
Received on Monday, 18 May 2020 18:48:06 UTC

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