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

[csswg-drafts] [css-grid] Note implies losing an aspect-ratio when it shouldn't? (#5713)

From: Ian Kilpatrick via GitHub <sysbot+gh@w3.org>
Date: Tue, 10 Nov 2020 22:00:22 +0000
To: public-css-archive@w3.org
Message-ID: <issues.opened-740273650-1605045620-sysbot+gh@w3.org>
bfgeek has just created a new issue for https://github.com/w3c/csswg-drafts:

== [css-grid] Note implies losing an aspect-ratio when it shouldn't? ==
https://drafts.csswg.org/css-grid-1/#grid-item-sizing

There is a note which says "Note: This can distort the aspect ratio of the item, if it has one."

This implies that if there is 'stretch' in one dimension, it should distort the image. This note should probably say something along the lines of "Note: This can distort the aspect ratio of the item, if it has stretch in both axes." or something.

Testcase: https://www.software.hixie.ch/utilities/js/live-dom-viewer/?saved=8675

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


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Tuesday, 10 November 2020 22:00:23 UTC

This archive was generated by hypermail 2.4.0 : Tuesday, 19 October 2021 01:31:35 UTC