ابحث في الدعم

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

in mac, img with srcset retina display a big area with a small image

  • 1 (رد واحد)
  • 1 has this problem
  • 2 views
  • آخر ردّ كتبه user1929

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

All Replies (1)

more options

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.