<?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>20175</bug_id>
          
          <creation_ts>2012-11-30 15:19:18 +0000</creation_ts>
          <short_desc>Lacks means to sensibly manipulate sources</short_desc>
          <delta_ts>2013-01-29 20:13:54 +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>NEEDSINFO</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>20211</blocked>
    
    <blocked>20255</blocked>
          <everconfirmed>1</everconfirmed>
          <reporter name="Marcos Caceres">w3c</reporter>
          <assigned_to name="Edward O&apos;Connor">eoconnor</assigned_to>
          <cc>bkardell</cc>
    
    <cc>david</cc>
    
    <cc>mat</cc>
    
    <cc>odinho</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>79182</commentid>
    <comment_count>0</comment_count>
    <who name="Marcos Caceres">w3c</who>
    <bug_when>2012-11-30 15:19:18 +0000</bug_when>
    <thetext>The img@srcset solution lacks a means to programmatically interface with image resources, as well as access relevant attributes and methods that make the solution practical to work with (i.e., it shouldn&apos;t require Regex or nested loops to manipulate values).

See: https://gist.github.com/9f3ced6a91d7390b080d</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>82305</commentid>
    <comment_count>1</comment_count>
    <who name="Edward O&apos;Connor">eoconnor</who>
    <bug_when>2013-01-29 19:25:12 +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: Additional Information Needed
Change Description: No spec change.

Rationale: The linked gist certainly demonstrates that manipulating
srcset=&quot;&quot; from JS can be awkward. I think adding a DOMTokenList-like API
to srcset=&quot;&quot; would be reasonable if we had use cases which required
frequent manipulation of srcset=&quot;&quot; from JS. So, to echo Ian&apos;s question
in bug 20211 comment 1, what&apos;s the use case here?</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>