[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
Thu Sep 29 04:58:46 PDT 2011


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





--- Comment #12 from Adam Roben (:aroben) <aroben at apple.com>  2011-09-29 04:58:46 PST ---
(In reply to comment #11)
> If the former, we can make a function for MQ, or add a term to image() for it.  If the latter, we should really push for a more general solution like nesting @media inside of declaration blocks.  This is already present in preprocessors like SASS, so we can potentially look for SASS code to see how much this functionality is used in the wild and how it is used.

Whatever solution we come up with, it would be nice if it were something that would work inside a style attribute and that could be specified via JavaScript.

-- 
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