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
without srcset browser assumes 100vw, some sources say (does not seem to be part of standard thought).
We will add optional imageSizes attribute - string we add to imgsizes
rymsha
changed the title
lib-portal srcset is missing the sizes attribute
lib-portal srcset sizes attribute support
Sep 17, 2021
rymsha
changed the title
lib-portal srcset sizes attribute support
lib-portal img sizes attribute support
Sep 17, 2021
https://html.spec.whatwg.org/multipage/embedded-content.html#attr-img-srcset
"If the srcset attribute is present and has any image candidate strings using a width descriptor, the sizes attribute must also be present"
Not having sizes attribute makes the html element invalid. Even if most browsers still render it and handle it properly.
The text was updated successfully, but these errors were encountered: