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

Re: [csswg-drafts] How widely should HTML's 'aspect-ratio' presentational attribute be applied? (#5608)

From: Simon Pieters via GitHub <sysbot+gh@w3.org>
Date: Tue, 13 Oct 2020 08:27:22 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-707580923-1602577641-sysbot+gh@w3.org>
What @fantasai said.

Although `embed` and `object` *can* be an image (and so have an intrinsic aspect ratio), they can also be a nested browsing context (no intrinsic aspect ratio).

There is however `input type=image` which could also do this.

For `canvas`, the spec currently says 

> The intrinsic dimensions of the canvas element when it represents embedded content are equal to the dimensions of the element's bitmap.

https://html.spec.whatwg.org/multipage/canvas.html#the-canvas-element:intrinsic-dimensions

-- 
GitHub Notification of comment by zcorpan
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/5608#issuecomment-707580923 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Tuesday, 13 October 2020 08:27:24 UTC

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