Last modified: 2013-01-14 17:04:58 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T44200, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 42200 - Align errors for images overlapping section title in FF16.0.2
Align errors for images overlapping section title in FF16.0.2
Status: NEW
Product: MediaWiki
Classification: Unclassified
Parser (Other open bugs)
unspecified
All All
: Low minor (vote)
: ---
Assigned To: Nobody - You can work on this!
https://ro.wikipedia.org/wiki/Ehud_Barak
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2012-11-16 17:01 UTC by Strainu
Modified: 2013-01-14 17:04 UTC (History)
0 users

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments
screenshot (463.89 KB, image/png)
2012-11-16 17:24 UTC, Strainu
Details
Simple (non-MediaWiki) HTML test case also exhibiting the issue. (2.30 KB, text/html)
2012-11-16 18:09 UTC, Brad Jorsch
Details

Description Strainu 2012-11-16 17:01:31 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.
Comment 1 Andre Klapper 2012-11-16 17:20:25 UTC
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.
Comment 2 Strainu 2012-11-16 17:24:58 UTC
Created attachment 11380 [details]
screenshot

Added screenshot. FWIW, screen resolution is 1280x1024.
Comment 3 Strainu 2012-11-16 17:28:20 UTC
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.
Comment 4 Brad Jorsch 2012-11-16 18:09:06 UTC
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
Comment 5 Andre Klapper 2012-11-17 16:40:11 UTC
(In reply to comment #4)
> This appears to be a bug in Firefox.

https://bugzilla.mozilla.org/show_bug.cgi?id=621752 ?

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links