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

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

From: Tab Atkins Jr. via GitHub <sysbot+gh@w3.org>
Date: Mon, 12 Oct 2020 18:09:50 +0000
To: public-css-archive@w3.org
Message-ID: <issues.opened-719564991-1602526188-sysbot+gh@w3.org>
tabatkins has just created a new issue for https://github.com/w3c/csswg-drafts:

== How widely should HTML's 'aspect-ratio' presentational attribute be applied? ==
In <https://github.com/whatwg/html/pull/6032>, I'm fixing HTML to define that `<img width height>` constitutes an 'aspect-ratio' presentational hint (setting 'aspect-ratio' at the presentation-hint layer, lower specificity than any rule). (Previously, this was defined as width/height attributes actually giving the element an intrinsic aspect ratio.)

The text I'm replacing only defined this mapping for `img` elements, but it seems reasonable that this should apply to all element that currently process 'width' and 'height' attributes as presentational hints: `embed`, `iframe`, `img`, `object`, and `video`. Does this sound reasonable to other people?

Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/5608 using your GitHub account

Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Monday, 12 October 2020 18:09:52 UTC

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