<?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>20177</bug_id>
          
          <creation_ts>2012-11-30 15:26:00 +0000</creation_ts>
          <short_desc>Spaces in candidates</short_desc>
          <delta_ts>2013-01-17 19:34:34 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>HTML WG</product>
          <component>The srcset attribute</component>
          <version>unspecified</version>
          <rep_platform>PC</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>WONTFIX</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>
          
          <blocked>20213</blocked>
          <everconfirmed>1</everconfirmed>
          <reporter name="Marcos Caceres">w3c</reporter>
          <assigned_to name="Edward O&apos;Connor">eoconnor</assigned_to>
          <cc>david</cc>
    
    <cc>mat</cc>
    
    <cc>odinho</cc>
    
    <cc>w3c</cc>
          
          <qa_contact name="HTML WG Bugzilla archive list">public-html-bugzilla</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>79184</commentid>
    <comment_count>0</comment_count>
    <who name="Marcos Caceres">w3c</who>
    <bug_when>2012-11-30 15:26:00 +0000</bug_when>
    <thetext>The img src attribute and srcset behaves different when presented with spaces: for example,  &quot;Screenshot 10.2.2012 100 1x 2x Funny Cat.jpeg&quot; in @srcset results in &quot;Screenshot&quot; as the candidate. However, when fed to img@src, the resource name is parsed as expected. 

Confirmed by: http://responsiveimagescg.github.com/picture-refimp/demo/?srcset=Screenshot+10.2.2012+100+1x+2x+Funny+Cat.jpeg</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>79505</commentid>
    <comment_count>1</comment_count>
    <who name="Edward O&apos;Connor">eoconnor</who>
    <bug_when>2012-12-05 21:06:46 +0000</bug_when>
    <thetext>EDITOR&apos;S RESPONSE: This is an Editor&apos;s Response to your comment. If you are
satisfied with this response, please change the state of this bug to CLOSED. If
you have additional information and would like the Editor to reconsider, please
reopen this bug. If you would like to escalate the issue to the full HTML
Working Group, please add the TrackerRequest keyword to this bug, and suggest
title and text for the Tracker Issue; or you may create a Tracker Issue
yourself, if you are able to do so. For more details, see this document:

   http://dev.w3.org/html5/decision-policy/decision-policy.html

Status: Rejected
Change Description: No spec change.

Rationale: The behavior of &lt;img src&gt; and &lt;img srcset&gt; differs when they
are passed nonconforming URLs, but &lt;img src&gt; and &lt;img srcset&gt; behave the
same when passed conforming URLs. We can&apos;t change &lt;img src&gt;&apos;s behavior
due to backwards compat constraints, whereas there is no legacy content
using &lt;img srcset&gt;.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>79834</commentid>
    <comment_count>2</comment_count>
    <who name="Marcos Caceres">w3c</who>
    <bug_when>2012-12-10 14:30:26 +0000</bug_when>
    <thetext>I agree with the rationale, but would really like a non-normative notes added to the spec clarifying this (i.e., this is a feature, not a bug! :) ).</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>81541</commentid>
    <comment_count>3</comment_count>
    <who name="Edward O&apos;Connor">eoconnor</who>
    <bug_when>2013-01-17 18:13:53 +0000</bug_when>
    <thetext>I think it would be reasonable for tutorials and other supplementary material to mention the inconsistency between src=&quot;&quot; and srcset=&quot;&quot; when passed non-conforming URLs. That said, I don&apos;t think the spec needs to go out of its way to point this out.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>81547</commentid>
    <comment_count>4</comment_count>
    <who name="Marcos Caceres">w3c</who>
    <bug_when>2013-01-17 19:34:34 +0000</bug_when>
    <thetext>(In reply to comment #3)
&gt; I think it would be reasonable for tutorials and other supplementary
&gt; material to mention the inconsistency between src=&quot;&quot; and srcset=&quot;&quot; when
&gt; passed non-conforming URLs. That said, I don&apos;t think the spec needs to go
&gt; out of its way to point this out.

WFM. Just wanted to make sure it was not something that was overlooked.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>