- From: Tab Atkins Jr. <jackalmage@gmail.com>
- Date: Mon, 9 Jul 2012 17:08:45 -0700
- To: Simon Pieters <simonp@opera.com>
- Cc: "whatwg@whatwg.org" <whatwg@whatwg.org>
On Mon, Jun 4, 2012 at 1:25 AM, Simon Pieters <simonp@opera.com> wrote: > How do <img srcset> and CSS image-resolution interact? What happens with > e.g. <img srcset="foo.jpg 2x" style="image-resolution:2dppx">? I think that the @srcset resolution should be treated as an intrinsic resolution. In your example, then, 'image-resolution' would override the 2x (though both specify the same value, obviously). Using "from-image", though, would defer to the @srcset resolution. ~TJ
Received on Tuesday, 10 July 2012 00:09:36 UTC