This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 20256 - No way to determine which source is being displayed
Summary: No way to determine which source is being displayed
Status: RESOLVED DUPLICATE of bug 20210
Alias: None
Product: WHATWG
Classification: Unclassified
Component: HTML (show other bugs)
Version: unspecified
Hardware: PC All
: P2 normal
Target Milestone: Unsorted
Assignee: Ian 'Hixie' Hickson
QA Contact: contributor
URL:
Whiteboard:
Keywords:
Depends on: 20173
Blocks: 20210
  Show dependency treegraph
 
Reported: 2012-12-05 21:09 UTC by Edward O'Connor
Modified: 2012-12-08 00:28 UTC (History)
6 users (show)

See Also:


Attachments

Description Edward O'Connor 2012-12-05 21:09:42 UTC
+++ This bug was initially created as a clone of Bug #20173 +++

The img@srcset spec lacks a script-based means to determine what resource the image element is displaying (if any). The use case for this is for testing and generally for a developer to know what is going on.
See: http://usecases.responsiveimages.org/#api-to-manipulate-sources
Comment 1 Ian 'Hixie' Hickson 2012-12-08 00:28:17 UTC

*** This bug has been marked as a duplicate of bug 20210 ***