Last modified: 2011-04-14 15:13:39 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 T26705, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 24705 - omnipresent #contentSub element causes styling issues
omnipresent #contentSub element causes styling issues
Status: NEW
Product: MediaWiki
Classification: Unclassified
General/Unknown (Other open bugs)
unspecified
All All
: Low enhancement (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2010-08-06 21:00 UTC by entlinkt
Modified: 2011-04-14 15:13 UTC (History)
2 users (show)

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


Attachments

Description entlinkt 2010-08-06 21:00:18 UTC
The #contentSub element is always present, but does not have any content most of the times. Consequences:

1) The Monobook and Vector skins do #contentSub { margin: 0 0 1.4em 1em; }, which causes 1.4em extra whitespace between page title and first paragraph (similar issue as bug 19567).

2) In Vector, absolute-positioned elements are relative to #bodyContent (r52855), whose first child is #contentSub (first visible child actually, given that #siteSub is not displayed by default). The fact that #contentSub is always present and always has a bottom margin, but does not always have content causes the content edge of #bodyContent (and, consequently, its absolute-positioned descendants) to be unstable. Compare the position of the coordinates at [[de:Athen]] (empty #contentSub, coordinates below header line) with [[de:Athina]] (non-empty #contentSub, coordinates above header line).

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


Navigation
Links