- From: <bugzilla@jessica.w3.org>
- Date: Wed, 26 Jun 2013 11:46:12 +0000
- To: www-validator-cvs@w3.org
https://www.w3.org/Bugs/Public/show_bug.cgi?id=22473
Michael[tm] Smith <mike@w3.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
CC| |mike@w3.org
Resolution|--- |WORKSFORME
--- Comment #1 from Michael[tm] Smith <mike@w3.org> ---
(In reply to comment #0)
> When I have a webpage with the "src" attribute, it's detected as an error
> (and seems to recognize "src" like "srcset" attribute), althoug it shouldn't.
> The report of the bug can be found here :
> http://validator.w3.org/nu/?doc=https%3A%2F%2Ffr.wiktionary.
> org%2Fwiki%2FWiktionnaire%3AWikid%25C3%25A9mie%2Fmai_2013
Actually, for that page, the validator is correctly reporting an error for the
"srcset" attribute, not the "src" attribute. Please look at the actual HTML
source of that page.
> Error: Attribute srcset not allowed on element img at this point.
>
> From line 1658, column 91; to line 1658, column 482
>
> <img alt="Pour"
> src="//upload.wikimedia.org/wikipedia/commons/thumb/9/94/Symbol_support_vote.
> svg/17p…dia.org/wikipedia/commons/thumb/9/94/Symbol_support_vote.svg/34px-
> Symbol_support_vote.svg.png 2x" />
Please look at the actual HTML source of the page. It has this:
<img alt="Pour"
src="//upload.wikimedia.org/wikipedia/commons/thumb/9/94/Symbol_support_vote.svg/17px-Symbol_support_vote.svg.png"
width="17" height="17"
srcset="//upload.wikimedia.org/wikipedia/commons/thumb/9/94/Symbol_support_vote.svg/26px-Symbol_support_vote.svg.png
1.5x,
//upload.wikimedia.org/wikipedia/commons/thumb/9/94/Symbol_support_vote.svg/34px-Symbol_support_vote.svg.png
2x" />
--
You are receiving this mail because:
You are the QA Contact for the bug.
Received on Wednesday, 26 June 2013 11:46:14 UTC