- From: fantasai via GitHub <sysbot+gh@w3.org>
- Date: Fri, 04 Jan 2019 21:25:26 +0000
- To: public-css-archive@w3.org
@eeeps So about your backwards-compat concerns in https://github.com/w3c/csswg-drafts/issues/333#issuecomment-438092951 ... > Specifying width and height as percentages was valid in HTML 4.01. Is there existing content that will break if those percentages are interpreted as px (I guess?) and fed into this rule? I'm expecting this to be implemented in C++ rather than CSS, but in the case of CSS percentages would end up invalid here (invalidating the rule) and in C++ we would certainly want to do the same. > Currently, in order to achieve fluid sizing without aspect-ratio distortion on an image with width/height, you have to "undo" the extrinsic size set in the cross axis by setting it to auto: Yes. I'm not proposing to change that: the `width` and `height attributes would still map to the corresponding CSS properties. The proposal is simply that they would _also_ map into an `aspect-ratio` property. -- GitHub Notification of comment by fantasai Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/333#issuecomment-451572995 using your GitHub account
Received on Friday, 4 January 2019 21:25:27 UTC