I think attributes are the way to go since they’re mapped to aspect-ratio. Consider some theme adding img { max-width: 100% }: With the size set via CSS, this gives us a squished image. With the size set via attributes, it works perfectly. Demo: https://codepen.io/flying-sheep/pen/qBwNbOb
Ah, it’s been fixed in https://sourceforge.net/p/docutils/patches/195/ / v0.20
Ah, it’s been fixed in [patch#195] / v0.20
Ah, it’s been fixed in [patches#195] / v0.20
Ah, it’s been fixed in [patches #195] / v0.20
Ah, it’s been fixed in [#195] / v0.20
Ah, it’s been fixed in [#195]. Please do a release!
Ah, it’s been fixed in #195. Please do a release!