Parsoid is moving to a CSS/JS solution for thumbnail size (T375981); we probably want to use the same solution for the legacy parser as well to reduce the variance between legacy and Parsoid output.
TODO
- Update legacy parser to support upscaling/downscaling of upright images
- Wait 2 weeks (23rd April 2026)
- Disable parser cache variance on thumbsize and apply Parsoid JavaScript and CSS to legacy parser