W3C home > Mailing lists > Public > www-validator@w3.org > December 2012

Attribute srcset not allowed on element img at this point.

From: Ed Palmer <ed.palmer@gmail.com>
Date: Mon, 17 Dec 2012 08:26:52 -0500
Message-ID: <CAJ1o0bAfMosqicCro_-juOuALLJeXv03a=BcU=zTjNxeSReMog@mail.gmail.com>
To: www-validator@w3.org
Sample document:
http://en.wikipedia.org/wiki/User:Gadget850/srcset

When validating an English Wikipedia page, the error "Attribute srcset not
allowed on element img at this point" is displayed. This is due to the
srcset attribute being used to generate alternate images.

Srcset is not in the live HTML5 specification:
http://dev.w3.org/html5/spec-author-view/the-img-element.html#the-img-element

But is in the living standard:
http://www.whatwg.org/specs/web-apps/current-work/multipage/embedded-content-1.html#attr-img-srcset
Received on Tuesday, 18 December 2012 07:21:42 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 18 December 2012 07:21:44 GMT