Hey #SVG and Firefox #lazyweb When an SVG is embedded in <img> with a media query inside of it, the mq responds to pixel density instead of viewport size in Firefox. Anyone aware of this issue? Is it a bug?
@SaraSoueidan This is the codepen with the strange Firefox behavior where it reacts to the monitor's pixel density. Try switching between retina and non retina monitor. codepen.io/enbee81/pen/NzNyj…
2
3
14
Replying to @SaraSoueidan
Seems likely enough to be a bug that I think it's worth filing. It also seems odd that <img> and 'background-image' would do different things; I'd have expected the difference in behavior to be crossing between dynamic SVG and svg-as-image (i.e., 1 & 2 one way, 3 different).

Sep 11, 2019 · 12:22 PM UTC

2
2
also strange... you don't get the same result on firefox mobile. Here all circles show up.