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
Part of the HTML 5.1 spec defines the srcset attribute on img elements where multiple URLs can be specified on one img to use in different situations (high pixel density displays, small monitors, etc).
An example of this taken from the draft w3c spec looks like:
* At public/project/index.html:7:
internal image /project/user_400.webp 400w does not exist
* At public/project/index.html:7:
internal image /project/user_760.webp 760w does not exist
* At public/project/index.html:7:
internal image /project/user_1200x1200_fit_q75_h2_lanczos.webp 1200w does not exist
Part of the HTML 5.1 spec defines the
srcset
attribute onimg
elements where multiple URLs can be specified on oneimg
to use in different situations (high pixel density displays, small monitors, etc).An example of this taken from the draft w3c spec looks like:
As far as I can see html-proofer does not support multiple URLs defined inside a
srcset
attribute.See the draft spec here: http://w3c.github.io/html/semantics-embedded-content.html, and note srcset is already supported in the majority of modern browsers already: http://caniuse.com/#search=srcset
If support for this is something you think is worth including on html-proofer let me know and I'd be happy to work on it and make a pull request!
The text was updated successfully, but these errors were encountered: