- From: Daniel Tonon via GitHub <sysbot+gh@w3.org>
- Date: Mon, 22 Oct 2018 18:43:02 +0000
- To: public-css-archive@w3.org
Actually there is one limitation in using `from-ratio` compared to an `ar` unit. `ar` is pretty much self contained. `from-ratio` on the other hand needs the `aspect-ratio` property to be set which comes with a bunch of its own effects. If you wanted to add aspect-ratio sizing to padding/border/margin but didn't want the box itself to be sized using aspect-ratio, that would be much more difficult (maybe even impossible) to achieve using `from-ratio`. It would be easily achievable using an `ar` unit though. -- GitHub Notification of comment by Dan503 Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/333#issuecomment-431824461 using your GitHub account
Received on Monday, 22 October 2018 18:43:03 UTC