On Thu, Nov 19, 2020 at 06:59:44AM +0000, Gavin Smith wrote: > I wonder if there would be any harm in outputing the width and > height attributes for HTML as well, espcially if they are given > in display-independent units such as ems.
I have been looking into this issue. The width and height attributes in HTML are given in pixels only (or possibly percentages, but this usage appears to be deprecated). Image size could be set with CSS instead, but I don't think varying output display sizes are the issue here: it's using huge images that would be too big for any display. Specifying dimensions via CSS may make the output worse (as images would not scale perfectly unless the output size was an exact multiple of the input size).
