ausi/respimagelint

Add check for correct width/height attributes

ausi opened this issue · 0 comments

ausi commented
  • should always be present on the <img>
  • should be present on <source> if the aspect ratio is different from <img>
  • should match the actual aspect ratio of the image file(s)
  • should match exactly for <img>s and <source>s that have no sizes attribute