This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.
+++ 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
For the developer, the console tools are probably a better way of helping. For testing, wouldn't checking the rendered result be better? What are we testing exactly, and how?
*** Bug 20256 has been marked as a duplicate of this bug. ***