<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://www.w3.org/Bugs/Public/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4"
          urlbase="https://www.w3.org/Bugs/Public/"
          
          maintainer="sysbot+bugzilla@w3.org"
>

    <bug>
          <bug_id>22473</bug_id>
          
          <creation_ts>2013-06-26 10:55:08 +0000</creation_ts>
          <short_desc>False detected error with &quot;src&quot; attribute</short_desc>
          <delta_ts>2013-07-01 01:25:35 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>HTML Checker</product>
          <component>General</component>
          <version>unspecified</version>
          <rep_platform>PC</rep_platform>
          <op_sys>Windows NT</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>WORKSFORME</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>automatik68</reporter>
          <assigned_to name="Michael[tm] Smith">mike+validator</assigned_to>
          <cc>mike</cc>
          
          <qa_contact name="qa-dev tracking">www-validator-cvs</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>89878</commentid>
    <comment_count>0</comment_count>
    <who name="">automatik68</who>
    <bug_when>2013-06-26 10:55:08 +0000</bug_when>
    <thetext>Hi,

When I have a webpage with the &quot;src&quot; attribute, it&apos;s detected as an error (and seems to recognize &quot;src&quot; like &quot;srcset&quot; attribute), althoug it shouldn&apos;t.

See the following &quot;error&quot;:

Error: Attribute srcset not allowed on element img at this point.

From line 1658, column 91; to line 1658, column 482

&lt;img alt=&quot;Pour&quot; src=&quot;//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&quot; /&gt;

src had correctly wrote but an error is anyway detected for it (and &quot;src&quot; is indicated as a valid attribute).

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

I use Mozilla Firefox 21.0

So please be concerning with this.

Thanks by advance</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>89879</commentid>
    <comment_count>1</comment_count>
    <who name="Michael[tm] Smith">mike</who>
    <bug_when>2013-06-26 11:46:12 +0000</bug_when>
    <thetext>(In reply to comment #0)
&gt; When I have a webpage with the &quot;src&quot; attribute, it&apos;s detected as an error
&gt; (and seems to recognize &quot;src&quot; like &quot;srcset&quot; attribute), althoug it shouldn&apos;t.
&gt; The report of the bug can be found here :
&gt; http://validator.w3.org/nu/?doc=https%3A%2F%2Ffr.wiktionary.
&gt; org%2Fwiki%2FWiktionnaire%3AWikid%25C3%25A9mie%2Fmai_2013

Actually, for that page, the validator is correctly reporting an error for the &quot;srcset&quot; attribute, not the &quot;src&quot; attribute. Please look at the actual HTML source of that page.

&gt; Error: Attribute srcset not allowed on element img at this point.
&gt; 
&gt; From line 1658, column 91; to line 1658, column 482
&gt; 
&gt; &lt;img alt=&quot;Pour&quot;
&gt; src=&quot;//upload.wikimedia.org/wikipedia/commons/thumb/9/94/Symbol_support_vote.
&gt; svg/17p…dia.org/wikipedia/commons/thumb/9/94/Symbol_support_vote.svg/34px-
&gt; Symbol_support_vote.svg.png 2x&quot; /&gt;

Please look at the actual HTML source of the page. It has this:

&lt;img alt=&quot;Pour&quot; src=&quot;//upload.wikimedia.org/wikipedia/commons/thumb/9/94/Symbol_support_vote.svg/17px-Symbol_support_vote.svg.png&quot; width=&quot;17&quot; height=&quot;17&quot; srcset=&quot;//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&quot; /&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>90029</commentid>
    <comment_count>2</comment_count>
    <who name="">automatik68</who>
    <bug_when>2013-06-30 00:42:51 +0000</bug_when>
    <thetext>Thanks for your answer.

Actually, there&apos;s the &apos;srcset&apos; attribute in the page. But it doesn&apos;t matched correctly, isn&apos;t it?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>90030</commentid>
    <comment_count>3</comment_count>
    <who name="Michael[tm] Smith">mike</who>
    <bug_when>2013-06-30 02:59:42 +0000</bug_when>
    <thetext>(In reply to comment #2)
&gt; Thanks for your answer.
&gt; 
&gt; Actually, there&apos;s the &apos;srcset&apos; attribute in the page. But it doesn&apos;t matched
&gt; correctly, isn&apos;t it?

The validator is matching it correctly as far as I can see</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>90041</commentid>
    <comment_count>4</comment_count>
    <who name="">automatik68</who>
    <bug_when>2013-06-30 16:53:24 +0000</bug_when>
    <thetext>But on the screenshot it does not appear. (You can see it on your message above.) Actually though, this is not a major problem.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>90045</commentid>
    <comment_count>5</comment_count>
    <who name="Michael[tm] Smith">mike</who>
    <bug_when>2013-07-01 01:25:35 +0000</bug_when>
    <thetext>(In reply to comment #4)
&gt; But on the screenshot it does not appear. (You can see it on your message
&gt; above.) Actually though, this is not a major problem.

Yeah, in the case where the snippet of source for the element that contains the error is more than a certain number of characters, the validator UI elides some part of the snippet. To see the full source, you need to use the &quot;Show source&quot; option and follow the links with the link and column numbers to look at the exact original source where the error occurred.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>