Eric Portis
Eric Portis
Yes.  I believe (can't figure out how to confirm) that this is the new default setting?
This is a good idea...
As I understand it, the problem here is that [the `object-fit` spec calls for `contain` and `cover` to look at the element’s natural aspect ratio](https://drafts.csswg.org/css-images/#the-object-fit). Authors _should_ be able to...
Actually this does appear to be fixable with `contain-intrinsic-size`? I swear it wasn't an hour ago, but perhaps I just made a typo? https://codepen.io/eeeps/pen/qBvmvwE The codepen I linked above (https://codepen.io/eeeps/pen/bGZWZBq)...
It is not clear to me that `object-fit` should be using the aspect ratio given by `contain-intrinsic-size`. In Images Level 3, `object-fit` is specified to preserve the natural aspect ratio,...
Correction! I said, > As all browsers currently do the same thing (`contain-intrinsic-size` affects `object-fit`)... But I was wrong, Firefox doesn't (and also doesn't use the actual natural aspect ratio,...
@vmpstr Try refreshing? This has been flaky for me [before](https://github.com/whatwg/html/issues/10079#issuecomment-1901148238). Not sure if that's CodePen's fault, or Chromiums. Anyways here's proof that it does sometimes have an effect: https://o.img.rodeo/c2axgu9ms1l3ojujbjjn.png https://codepen.io/eeeps/pen/abxWVmN?editors=1101
First stab at a Web Platform Test https://github.com/eeeps/wpt/tree/object-fit-contain-size
> Should an author specify a color when they do not (or physically cannot) know what that color actually looks like? "How do we help authors make sensible choices?" is...
> We are only trying to solve this problem because we see it as a solution to the problem of "impose meaning on physically meaningless colors values" I am interested...