You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jan 9, 2020. It is now read-only.
Seems like it may open cans of worms, but – I have two use cases, one more fleshed out than the other...
Placeholders for images to be loaded later. For instance, let’s say I’m lazyloading or click-to-loading an image, and am using <a class="lazy-img" href="image.jpg">alternative text</a> as a fallback, like this: https://codepen.io/eeeps/pen/mGavRP. Being able to set an intrinsicsize on the <a> would be very useful; I can't think of another clean way to get it to be sized just like the eventual image will be, if the image is flexible in one dimension.
Custom elements, which may be doing custom replaced-element-y things?
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Seems like it may open cans of worms, but – I have two use cases, one more fleshed out than the other...
Placeholders for images to be loaded later. For instance, let’s say I’m lazyloading or click-to-loading an image, and am using
<a class="lazy-img" href="image.jpg">alternative text</a>
as a fallback, like this: https://codepen.io/eeeps/pen/mGavRP. Being able to set anintrinsicsize
on the<a>
would be very useful; I can't think of another clean way to get it to be sized just like the eventual image will be, if the image is flexible in one dimension.Custom elements, which may be doing custom replaced-element-y things?
The text was updated successfully, but these errors were encountered: