* (bug 27338) Gallery in 1.17 breaks for audio/video + ogghandler
authorMark A. Hershberger <mah@users.mediawiki.org>
Tue, 15 Feb 2011 19:39:45 +0000 (19:39 +0000)
committerMark A. Hershberger <mah@users.mediawiki.org>
Tue, 15 Feb 2011 19:39:45 +0000 (19:39 +0000)
commit02d95fc21b5fb0368021f0513f9638ee1f9d9f3d
tree74253ba897688faf04a356dd249226e9647e84dd
parent64e5faa430ebafe3c2141de8b61b0d745141e590
* (bug 27338) Gallery in 1.17 breaks for audio/video + ogghandler

Patch by DieBuche, who explains the CSS:

    If the image height is lower than the line-height, the margin-top
    is applied to the top of the line.  a very short image will not
    follow for 3-4px laters, thus leading to a bigger distance from
    the top than it should be.  vertical-align:text-top moves the
    picture up, so this problem doesn't happen

I've not tested this, but DieBuche and Derk-Jan Hartman tested and
provided screenshots in the bug.
includes/ImageGallery.php
skins/common/shared.css