- From: jonjohnjohnson via GitHub <sysbot+gh@w3.org>
- Date: Sat, 08 Jun 2019 00:13:53 +0000
- To: public-css-archive@w3.org
I'd be remiss to not bring up @jensimmons comment about calc'n on top of aspect ratio behavior on the grid related issue... > Fluid video (that has an aspect ratio, like 16x9), with fixed-height controls running along the length of the video directly underneath. >``` >.video { > width: 100%; > height: calc(.5625tr + 25px); >} https://github.com/w3c/csswg-drafts/issues/333#issuecomment-432230212 Could it be possible to support this somehow with `calc()` in the `aspect-ratio` property? The only way I imagine this behavior would be covered, albeit using extra elements, [is if `box-sizing` being set to `content-box`](https://github.com/w3c/csswg-drafts/issues/4007), then offset the ratio size by using `padding`/`border` with a descendant was positioned accordingly? -- GitHub Notification of comment by jonjohnjohnson Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/3757#issuecomment-500075200 using your GitHub account
Received on Saturday, 8 June 2019 00:13:55 UTC