Simon Pieters
Simon Pieters
What is a valid IDREF? Is it valid if there is no element with that id? Then > Set the current node to the node referenced by the IDREF. It...
Hmmm, I wonder if we should have `width` and `height` attributes, if both are set (on `img` or the selected `source`), be a [presentational hint](https://html.spec.whatwg.org/multipage/rendering.html#presentational-hints) to `contain-intrinsic-size`? Or should `object-fit`...
@eeeps with https://codepen.io/eeeps/pen/qBvmvwE I see stretched images in Chrome Canary 121 (I got an error with updating it seems), but resizing the window made the image switch to correct aspect...
> Hmmm, I wonder if we should have `width` and `height` attributes, if both are set (on `img` or the selected `source`), be a [presentational hint](https://html.spec.whatwg.org/multipage/rendering.html#presentational-hints) to `contain-intrinsic-size`? @progers @tcaptan-cr...
@joemcgill > Adding the following CSS to the stylesheet fixes the issue for me: If you also remove `display: flex` from the parent, the images disappear. That was the original...
Both are needed to give a correct aspect ratio.
@eeeps can you file a new issue in w3c/csswg-drafts?
> But I was wrong, Firefox doesn't (and also doesn't use the actual natural aspect ratio, instead `object-fit` just doesn't work with `contain: size`) https://codepen.io/eeeps/pen/dyLNEdN I filed https://bugzilla.mozilla.org/show_bug.cgi?id=1886745 , thx!
If https://github.com/w3c/csswg-drafts/issues/10116 is fixed, it seems to me that auto-sizes can stay as currently specified.
The PR was merged, closing.