https://bugzilla.wikimedia.org/show_bug.cgi?id=62172

Roan Kattouw <roan.katt...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |roan.katt...@gmail.com

--- Comment #3 from Roan Kattouw <roan.katt...@gmail.com> ---
This is not because of galleries of formulas, but because of Moriel's fixes for
default images sizes in the DM. So it manifests only for images with default
size.

The corruption occurs because the default image size fixes overwrite Parsoid's
width/height (which is reasonable) but then also send the overwritten values
back to Parsoid (which is not reasonable). We should store the original values
and send those back in the HTML unless the user changed something.

Additionally, the default size fixes are causing us to incorrectly size images
whose original size is less than 220px. An 16x16px icon, for instance, is 16x16
even though the default bounding box is 220, because default sizing never grows
an image above its original size. In this case Parsoid's width/height are
actually correct, but we overwrite that with the default size, and so 16x16px
icons end up rendering as 220x220px in VE and look horribly pixelated.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to