Page MenuHomePhabricator

Original text overlaps with image
Closed, InvalidPublic

Description

Author: gurux13

Description:
Bug page

http://ru.wikipedia.org/wiki/%D0%94%D0%B5%D0%BD%D1%8C_%D0%BF%D0%BE%D0%BB%D0%BE%D1%82%D0%B5%D0%BD%D1%86%D0%B0

There is a line that overlaps with image (you can see it).
Actually, it is a whole blockquote that overlaps.

Maybe the component is wrong, please correct it in case it is.

Thank you!


Version: unspecified
Severity: minor
OS: Windows 7
Platform: PC
URL: http://ru.wikipedia.org/wiki/%D0%94%D0%B5%D0%BD%D1%8C_%D0%BF%D0%BE%D0%BB%D0%BE%D1%82%D0%B5%D0%BD%D1%86%D0%B0

Attached:

wiki.png (870×1 px, 306 KB)

Details

Reference
bz24800

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 11:10 PM
bzimport added a project: MediaWiki-Parser.
bzimport set Reference to bz24800.
bzimport added a subscriber: Unknown Object (MLST).

This is due to the position:relative and the position:absolute of the NavHead and NavToggle elements. With those defined as they are, this visual effect is as expected. This is not a bug in the MediaWiki software, but a bug with the NavFrame code of your local wiki.

I'm not sure why the NavFrame style uses this design (i see english wikipedia has it as well), but it really shouldn't be required I think. Non relative positioning for NavHead and float:right for NavToggle should work just as well I suspect.

That the background of the entire blockquote goes behind the image is proper behavior btw. That is how CSS works. Only the contents are shifted to make way for the image. But changing positioning takes the NavFrame out of the normal content model of the blockquote, instead of the NavHead being shifted like the rest of the content, it overlays the floating image.