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 20172 - “Art direction” use case not well supported
Summary: “Art direction” use case not well supported
Status: RESOLVED WONTFIX
Alias: None
Product: HTML WG
Classification: Unclassified
Component: The srcset attribute (show other bugs)
Version: unspecified
Hardware: PC All
: P2 normal
Target Milestone: ---
Assignee: Edward O'Connor
QA Contact: HTML WG Bugzilla archive list
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 20209
  Show dependency treegraph
 
Reported: 2012-11-30 15:14 UTC by Marcos Caceres
Modified: 2014-05-08 20:14 UTC (History)
3 users (show)

See Also:


Attachments

Description Marcos Caceres 2012-11-30 15:14:11 UTC
Although img@srcset supports the resolution matching use case in a limited way, it does not fully support the art direction use case. To support the the art direction use case, there needs to be some mechanism in place to force the browser to display a given image when condition is met. This is akin to the use case for CSS's !important rule.
(See: http://blog.cloudfour.com/a-framework-for-discussing-responsive-images-solutions/ )
For detailed description of use case, see also: http://usecases.responsiveimages.org/#art-direction
Comment 1 Mat Marquis 2013-01-21 17:50:25 UTC
Commenting per the HTML WG’s request[1]:

This bug would be addressed by the proposed `picture` extension specification: See: http://picture.responsiveimages.org/#relationship-to-srcset

Further discussion is available in the WHATWG clone of this bug: https://www.w3.org/Bugs/Public/show_bug.cgi?id=20209

1: http://lists.w3.org/Archives/Public/public-html-wg-announce/2013JanMar/0006.html
Comment 2 Edward O'Connor 2014-05-08 20:14:42 UTC
I think it would be a mistake to provide a mechanism "to force the browser to display a given image when condition is met."