Note from 14 October 2022
width
and height
attributes on <img>
help prevent layout shifts (CLS). Values should be unitless integers.
But #Lighthouse sees 100%
as 100
, thanks parseInt()
…
Do you think it should be improved?
-
older note:
Note from 14 October 2022 -
newer note:
Note from 17 October 2022