Eric Portis
Eric Portis
@tigt yup! You might have small changes because of rounding (3000×2000 → 188×125), dunno if those would ever matter? But per spec, `srcset` should be used: > to provide multiple...
Just saw your [Intent to Implement](https://groups.google.com/a/chromium.org/forum/#!msg/blink-dev/mAwFEMP6JDQ/sTobLh4HDQAJ) on this, @loonybear. Thank you for pushing it forward! Let me check my understanding of the explainer. I’m worried that things might get a...
So basically: `intrinsicsize` always sets the density-corrected intrinsic size, *unless* it’s on an `` whose `currentSrc` had a `w` attached to it. In that case, `intrinsicsize` sets the intrinsic aspect...
Just to close the loop, for the two examples in the OP... ```html ``` ```html ``` @ojanvafai, does any of this need to be captured in the explainer, or can...
@domenic What's the downside to `intrinsicsize` attributes on every `` on the web? What's the benefit of `height=100 width=100` vs `intrinsicsize=100x100`? Seems like we should try to depreciate `height` +...
`naturalWidth` reports the “density-corrected intrinsic width” of the image, so doesn't give the “original image dimensions” [when images have a density other than `1x`](https://codepen.io/eeeps/pen/KxEGaW). Images with a flexible `sizes` [almost...
@andydavies any progress on this?
Re: `h` It was [initially proposed](https://github.com/ResponsiveImagesCG/picture-element/issues/85) (by @yoavweiss) as a way to give images intrinsic dimensions before they were loaded – solving exactly the problem that @ojanvafai is trying to...
The CSSWG is planning on spec'ing a way to set extrinsic aspect ratios soonish: https://twitter.com/fantasai/status/1024041682805829632 I think this is the relevant issue: https://github.com/w3c/csswg-drafts/issues/333 In my mind, CSS should stay out...
Not totally sure what you're doing with the outer/inner containers (what do you mean “counter-scale”?), but, re: aspect ratios, if you know the width/height/aspect-ratio of your container, and want to...