govin b19f28492e frontend: check that a sized figure keeps its own shape
The size is a width and nothing else, so the height comes from the picture's
aspect ratio and a figure cannot be deformed. That is worth asserting rather
than assuming, in both halves: the shape the browser actually drew, and that no
height was written into the style at all.

Measured on the paper this was built for, which now has all sixteen of its
figures at 50%: 638px wide each, aspect ratio within 0.2% of the file's own — the
rounding of the measurement, not the layout.
2026-09-24 12:46:10 +08:00
2026-09-15 03:04:50 +08:00
S
Description
No description provided
Readme 1.8 MiB
Languages
Python 64.1%
Vue 24.8%
TypeScript 7%
JavaScript 2.3%
CSS 0.9%
Other 0.8%