<?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>19490</bug_id>
          
          <creation_ts>2012-10-11 22:47:57 +0000</creation_ts>
          <short_desc>srcset proposal is not fully responsive</short_desc>
          <delta_ts>2014-01-31 18:47:29 +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>CLOSED</bug_status>
          <resolution>FIXED</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>23243</blocked>
          <everconfirmed>1</everconfirmed>
          <reporter name="Edward O&apos;Connor">eoconnor</reporter>
          <assigned_to name="Edward O&apos;Connor">eoconnor</assigned_to>
          <cc>david</cc>
    
    <cc>marcosscaceres</cc>
    
    <cc>w3c</cc>
    
    <cc>zcorpan</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>76053</commentid>
    <comment_count>0</comment_count>
    <who name="Edward O&apos;Connor">eoconnor</who>
    <bug_when>2012-10-11 22:47:57 +0000</bug_when>
    <thetext>Marcos wrote:

&gt; In section &quot;Processing the image candidates&quot;, the srcset spec [1] says: 
&gt;
&gt; &quot;The user agent may at any time run the following algorithm to update an
&gt; img element&apos;s image in order to react to changes in the environment.
&gt; (User agents are not required to ever run this algorithm.)&quot;
&gt;
&gt; The RICG is wondering why this is not at least a SHOULD or a MUST? Most
&gt; developers would expect this to work like media queries (i.e., always
&gt; &quot;responsive&quot; to environmental changes).
&gt;
&gt; Some clarification would be great.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>76054</commentid>
    <comment_count>1</comment_count>
    <who name="Edward O&apos;Connor">eoconnor</who>
    <bug_when>2012-10-11 22:48:30 +0000</bug_when>
    <thetext>Originally filed on public-html-comments:

http://lists.w3.org/Archives/Public/public-html-comments/2012Oct/0002.html</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>76460</commentid>
    <comment_count>2</comment_count>
    <who name="Edward O&apos;Connor">eoconnor</who>
    <bug_when>2012-10-16 22:30:27 +0000</bug_when>
    <thetext>There are several scenarios that come to mind in which a User Agent may reasonably wish not to re-invoke this algorithm. For instance, consider the case of a UA which goes offline after the page has loaded. If it had to re-invoke this algorithm when something happens while the UA is offline, the image may go from a working state to a broken state.

Do you think the spec needs to be updated to clarify this in some non-normative prose, or is the above sufficient to answer your question?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>77038</commentid>
    <comment_count>3</comment_count>
    <who name="Marcos Caceres">w3c</who>
    <bug_when>2012-10-24 12:11:59 +0000</bug_when>
    <thetext>That makes sense. I think it would be helpful to outline such scenarios as a note in the spec.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>93654</commentid>
    <comment_count>4</comment_count>
    <who name="Edward O&apos;Connor">eoconnor</who>
    <bug_when>2013-09-23 16:29:24 +0000</bug_when>
    <thetext>Reopening to ensure I merge over whatever notes get added via bug 23243.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>93661</commentid>
    <comment_count>5</comment_count>
    <who name="Simon Pieters">zcorpan</who>
    <bug_when>2013-09-23 17:43:10 +0000</bug_when>
    <thetext>(In reply to Edward O&apos;Connor from comment #2)
&gt; If it had to
&gt; re-invoke this algorithm when something happens while the UA is offline, the
&gt; image may go from a working state to a broken state.

No, if the fetch fails, the old image is kept.

&quot;If this download fails in any way (other than the response code not being a 2xx code, as mentioned earlier), or if the image format is unsupported (as determined by applying the image sniffing rules, again as mentioned earlier), or if the resource type is multipart/x-mixed-replace, then abort these steps.&quot;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>99442</commentid>
    <comment_count>6</comment_count>
    <who name="Edward O&apos;Connor">eoconnor</who>
    <bug_when>2014-01-29 22:59:44 +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: Accepted
Change Description: https://github.com/w3c/html/commit/ebc9908575f457701d8a8359123261995c20ac41
Rationale: Merged fix from WHATWG.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>