Last modified: 2013-01-14 17:04:58 UTC
In https://ro.wikipedia.org/wiki/Ehud_Barak , the section heading "Onoruri" overlaps with Fișier:Barak pentagon 1999.jpg in FF 16.0.2. I've disabled all my extensions in order to check this.
Screenshot welcome. I can only see a small overlapping if I increase zoom by one level from the default level. Using Firefox 16.0.2 too.
Created attachment 11380 [details] screenshot Added screenshot. FWIW, screen resolution is 1280x1024.
Also, zooming in or out solves the problem - unless I zoom out 3 times, and the next section overlaps. Apparently this only happens on the corner of the image - if the section head is at the middle of the image, there is no overlap.
Created attachment 11381 [details] Simple (non-MediaWiki) HTML test case also exhibiting the issue. This appears to be a bug in Firefox. Quoth the CSS standard:[1] > The border box of a table, a block-level replaced element, or an element in the > normal flow that establishes a new block formatting context (such as an element > with 'overflow' other than 'visible') must not overlap the margin box of any > floats in the same block formatting context as the element itself. The heading element has overflow:hidden, so it establishes a new block formatting context and therefore must not overlap any other floats in the same block formatting context. But it appears that Firefox only checks for floats next to the top edge of the heading element, and not for any floats whose top edge is below the top edge of the heading's box. I note Firefox used to have the same problem with line boxes,[2] but that one seems to be fixed. They just didn't also fix it for other kinds of boxes that need to not overlap floats. [1]: http://www.w3.org/TR/CSS21/visuren.html#bfc-next-to-float [2]: http://en.wikipedia.org/wiki/Wikipedia:Village_pump_%28technical%29/Archive_61#Page_rendering_problem
(In reply to comment #4) > This appears to be a bug in Firefox. https://bugzilla.mozilla.org/show_bug.cgi?id=621752 ?