in mac, img with srcset retina display a big area with a small image
More https://stackoverflow.com/questions/30873562/firefox-img-with-2x-srcset-specified-has-weird-spacing-when-inside-float Demo https://codepen.io/mendel/pen/dozedg
Tested with Macbook pro, firefox quantum
More https://stackoverflow.com/questions/30873562/firefox-img-with-2x-srcset-specified-has-weird-spacing-when-inside-float
Demo https://codepen.io/mendel/pen/dozedg
Tested with Macbook pro, firefox quantum
Tất cả các câu trả lời (1)
It looks like this is a known bug in Firefox: https://bugzilla.mozilla.org/show_bug.cgi?id=1149357 . In the meantime, you can work around this by setting the dimensions of the image using the "width" and "height" attributes.