Page MenuHomePhabricator

ID or class needed for relative-positioned container
Closed, ResolvedPublic

Description

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.


Version: unspecified
Severity: enhancement

Details

Reference
bz24366

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 11:07 PM
bzimport set Reference to bz24366.

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.