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 18171 - '"2x" means "maximum pixel density of 2 device pixels per CSS pixel"' the algorithm actually treats this as a minimum so this note should be reworded.
Summary: '"2x" means "maximum pixel density of 2 device pixels per CSS pixel"' the alg...
Status: RESOLVED NEEDSINFO
Alias: None
Product: HTML WG
Classification: Unclassified
Component: The srcset attribute (show other bugs)
Version: unspecified
Hardware: Other other
: P3 normal
Target Milestone: ---
Assignee: Edward O'Connor
QA Contact: HTML WG Bugzilla archive list
URL: http://www.whatwg.org/specs/web-apps/...
Whiteboard:
Keywords:
Depends on: 18384
Blocks:
  Show dependency treegraph
 
Reported: 2012-07-18 17:31 UTC by contributor
Modified: 2012-10-23 22:39 UTC (History)
6 users (show)

See Also:


Attachments

Description contributor 2012-07-18 17:31:53 UTC
This was was cloned from bug 17057 as part of operation convergence.
Originally filed: 2012-05-15 09:01:00 +0000

================================================================================
 #0   contributor@whatwg.org                          2012-05-15 09:01:47 +0000 
--------------------------------------------------------------------------------
Specification: http://www.whatwg.org/specs/web-apps/current-work/multipage/embedded-content-1.html
Multipage: http://www.whatwg.org/C#the-img-element
Complete: http://www.whatwg.org/c#the-img-element

Comment:
'"2x" means "maximum pixel density of 2 device pixels per CSS pixel"' the
algorithm actually treats this as a minimum so this note should be reworded.

Posted from: 82.161.179.17 by annevk@opera.com
User agent: Opera/9.80 (Macintosh; Intel Mac OS X 10.7.4; U; en) Presto/2.10.229 Version/11.64
================================================================================
 #1   Odin Hørthe Omdal                               2012-05-16 12:51:09 +0000 
--------------------------------------------------------------------------------
This also affects the steps taking away entries from the candidates based on width and height.

Spec currently says:

> If there are any entries in candidates that have an associated width
> that is greater than max width, then remove them, unless that would
> remove all the entries, in which case remove only the entries whose
> associated width is greater than the smallest such width.

I believe it should say:

> If there are any entries in candidates that have an associated width
> that is equal to or less than max width, then remove them, unless that would
> remove all the entries, in which case remove only the entries whose
> associated width is greater than the smallest such width.

And equally for height.
================================================================================
Comment 1 Edward O'Connor 2012-09-06 18:40:47 UTC
Moving this to HTML.next as <img srcset> is not in HTML5.

Adding a dependency on 18384 so we remember to pull this back into HTML5 if we need to.
Comment 2 Edward O'Connor 2012-10-11 22:47:02 UTC
Moving srcset="" bugs from HTML.next to the new component for the srcset="" spec.
Comment 3 Edward O'Connor 2012-10-23 22:39:14 UTC
EDITOR'S RESPONSE: This is an Editor'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: As Ian asked in bug 17057 comment 3, this part of the spec
has been tweaked, and this bug may no longer be relevant. Could you
check