Last modified: 2010-12-14 17:19:50 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 T26366, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 24366 - ID or class needed for relative-positioned container
ID or class needed for relative-positioned container
Status: RESOLVED FIXED
Product: MediaWiki extensions
Classification: Unclassified
FlaggedRevs (Other open bugs)
unspecified
All All
: Normal enhancement (vote)
: ---
Assigned To: Chad H.
:
Depends on:
Blocks: 26334
  Show dependency treegraph
 
Reported: 2010-07-14 04:40 UTC by entlinkt
Modified: 2010-12-14 17:19 UTC (History)
5 users (show)

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


Attachments

Description entlinkt 2010-07-14 04:40:00 UTC
It would be nice if the relative-positioned div in the following structure

<div id="mw-fr-revisiontag" class="flaggedrevs_short">
  <div class="flaggedrevs_short_basic">...</div>
  <div style="position:relative;">
    <div id="mw-fr-revisiondetails" class="flaggedrevs_short_details">...</div>
  </div>
</div>

had an ID or a class so that a z-index can be applied to it. The z-index is needed because of templates like [[Template:Location map]], and it needs to be on the relative-positioned div because of a bug in IE <= 7 (http://therealcrisp.xs4all.nl/meuk/IE-zindexbug.html).

[[de:MediaWiki:Common.css]] currently uses "div.flaggedrevs_short div { z-index: 1; }", but this is ugly because it applies to 3 divs where just 1 is needed, and there is no better choice that works in IE 6.
Comment 1 Derk-Jan Hartman 2010-07-16 02:11:17 UTC
we can actually do away with this 'empty' div if we redesign the menu to work similar to the Vector dropdown menu's. It's rather simple to do. I might take a look at it tomorrow.

Then we don't need Javascript anymore to show/hide the element either.
Comment 2 Aaron Schulz 2010-08-24 03:14:05 UTC
Assigning to Chad.
Comment 3 Aaron Schulz 2010-11-30 19:40:27 UTC
Done in r77502.

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


Navigation
Links