ul.gallery { display: inline-block; } can effect white space next to floating objects:
ul.gallery { display: inline-block; }
ul.gallery { display: block; } interacts better with floating objects:
ul.gallery { display: block; }
Here a real example for such a constellation: de:Europium#Eigenschaften
Seems to cause problems for me on categories with just a few images, see bug 31550
Yes, this is an other disadvantage of ul.gallery { display: inline-block; }:
Text before
Text after
With ul.gallery { display: block; } this can't happen:
I have reverted this change with r105995. Gallery are back to display:block;
Bug 27540 was reopened at some point, so it is still open.