https://bugzilla.wikimedia.org/show_bug.cgi?id=42200

--- Comment #4 from Brad Jorsch <bjor...@wikimedia.org> 2012-11-16 18:09:06 UTC 
---
Created attachment 11381
  --> https://bugzilla.wikimedia.org/attachment.cgi?id=11381
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

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
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

Reply via email to