Re: [svgwg] Define how <image> and <img> deal with width & height, and media queries

This is related to #249, in that they both address undefined aspects 
of how SVG scales to fit when used as an image.

For media queries, I would expect that dimensions are always measured 
in CSS pixels, and device pixel ratio would only show up in resolution
 queries.  Where it gets confusing is when you're drawing an image 
into a scaled coordinate system (e.g., another SVG with a viewBox, or 
a CSS img that has had a transform applied, or a canvas where the 
bitmap size doesn't match the rendered size in CSS px).  The issue 
with canvas, of course, is that there is currently no way to set high 
dpr other than to double the bitmap size and scale down.


-- 
GitHub Notification of comment by AmeliaBR
Please view or discuss this issue at 
https://github.com/w3c/svgwg/issues/289#issuecomment-252680977 using 
your GitHub account

Received on Monday, 10 October 2016 17:07:51 UTC