[Webkit-unassigned] [Bug 68008] Would like a CSS function that represents an image that will only be loaded if a given media query is matched

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Sep 13 11:46:49 PDT 2011


https://bugs.webkit.org/show_bug.cgi?id=68008





--- Comment #7 from Tab Atkins <tabatkins at google.com>  2011-09-13 11:46:49 PST ---
(In reply to comment #6)
> We want a way to be able to display a low-res image on non-hi-res displays, not just a way to display a downsampled hi-res image.

Okay.  So, again, is this something that *only* images need?  That is, is the "MQ makes us duplicate selectors" problem only a problem for images, or is it a more general problem?  If it's more general, we should solve it more generally (like, for example, by pushing to let @media be nested within a declaration block).

If it's specialized for images, is the problem confined to dpi queries, or are there other MQ that are expected to be commonly confined to images?  If it's confined to dpi queries, we can produce a shorter, more specialized function.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list