https://bugzilla.wikimedia.org/show_bug.cgi?id=62938
Bug ID: 62938 Summary: mw-default-size should be removed/made optional Product: Parsoid Version: unspecified Hardware: All OS: All Status: NEW Severity: normal Priority: Unprioritized Component: General Assignee: gwi...@wikimedia.org Reporter: canan...@wikimedia.org CC: jforres...@wikimedia.org, ssas...@wikimedia.org Web browser: --- Mobile Platform: --- For better interoperability with basic CE editors, we shouldn't let mw-default-size override the image size specified in the width/height attributes. We should omit the size specification iff the bounding box specified by width/height is equal to the default one. (A data-parsoid attribute can be used to preserve an explicit bounding box if one exists in the source, but this should be an unusual case.) Need to think through the issues here, this might require adding an imageinfo pass to the wts and/or more expicitly passing the original image dimensions in data-parsoid (or data-mw). -- 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