W3C home > Mailing lists > Public > public-css-archive@w3.org > November 2018

Re: [csswg-drafts] [css-grid][css-sizing] Aspect Ratio

From: Eric Portis via GitHub <sysbot+gh@w3.org>
Date: Tue, 13 Nov 2018 21:58:15 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-438453784-1542146293-sysbot+gh@w3.org>
Maybe it would be weird to use `height` and `width` to set intrinsic sizes, but it's perfectly fine to re-use them globally to set extrinsic ratios. And, for the purposes of no-reflows, 

```
<img intrinsicsize="300x200" style="width: 100%;" />
```

and (in the presence of the proposed UA default style)

```
<img height="300" width="200" style="width: 100%;" />
```

are functionally equivalent – they're just two good ways to solve the same problem. In which case, great! (and sorry for all of the comments).

-- 
GitHub Notification of comment by eeeps
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/333#issuecomment-438453784 using your GitHub account
Received on Tuesday, 13 November 2018 21:58:16 UTC

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