Last modified: 2013-12-06 18:55:34 UTC
In a firefox 13.0 clone on Trisquel 5.5, the following image gets moved down in the article if the {{WesternBuddhism}} template is included: http://en.wikipedia.org/wiki/File:Ajaan_Geoff_Almsround.jpg This diff shows the change: http://en.wikipedia.org/w/index.php?title=Thanissaro_Bhikkhu&diff=494176678&oldid=465782590 Also, at zoom-level = 1.0, a bullet point floats at the top left corner of the image, while its text starts after the top right of the image. This occurrence may depend upon screen size.
Confirming on MediaWiki 1.21wmf1 (69cfa2e) and FF 15.0.1. Looks like the picture is moved to below the level of {{Infobox}} when inserting {{WesternBuddhism}} after {{Infobox}}. Same happens when inserting {{WesternBuddhism}} before {{Infobox}}: Image will be below an imaginary horizontal line below the {{WesternBuddhism}} template. Might be a more generic problem.
This is the expected behavior according to the CSS standard,[1] and has nothing to do with MediaWiki. The CSS standard says that the top edge of any float cannot be above the top edge of any other float (in the same block formatting context) that occurs earlier in the HTML source; it makes no difference which side they are floated to. What's happening there is that the right-floated {{WesternBuddhism}} box is pushed down by the right-floated infobox, and therefore the left-floated image that occurs later in the page's HTML source cannot be positioned in the rendered page higher than the top of that pushed-down {{WesternBuddhism}} box. There's nothing that could be done in MediaWiki generally to work around this, even if we were so inclined. But various wikitext-level workarounds are documented at enwiki's WP:BUNCH.[2] [1]: http://www.w3.org/TR/CSS21/visuren.html#float-position [2]: https://en.wikipedia.org/wiki/WP:BUNCH