[wp-trac] [WordPress Trac] #26280: Z-index of the submenu not applied correctly in WP 3.8 Beta 1

WordPress Trac noreply at wordpress.org
Thu Dec 12 00:48:09 UTC 2013


#26280: Z-index of the submenu not applied correctly in WP 3.8 Beta 1
--------------------------------+----------------------------
 Reporter:  dennis_f            |       Owner:  iammattthomas
     Type:  defect (bug)        |      Status:  reopened
 Priority:  low                 |   Milestone:  3.8
Component:  Administration      |     Version:  trunk
 Severity:  normal              |  Resolution:
 Keywords:  ui-focus has-patch  |
--------------------------------+----------------------------
Changes (by dennis_f):

 * status:  closed => reopened
 * resolution:  fixed =>


Comment:

 Sorry to reopen the ticket, I just thought that there's no point in
 copying everything I said here in another ticket - if I really have to
 open a new ticket I will do it.

 The issue doesn't exist in WP 3.7, as the #adminmenuwrap element doesn't
 have any specific z-index applied, I just inspected the code in 3.7 and I
 can see that the computed z-index of the #adminmenuwrap element is
 '''auto'''.

 Right now the #adminmenuwrap has a z-index of 99 which overwrites the
 z-index of .wp-submenu of 9999 (as it is its parent), so the .wp-submenu
 element goes below elements that have z-index of 100 or greater.

 As an example, as I mentioned above, just use the browser developer tools
 to set a z-index of 100 to the Welcome Panel:

 {{{
 .welcome-panel{
         position:relative;
         z-index:100;
 }

 }}}

 and you will see how it goes over the submenu:

 [[Image(http://img7.imageshack.us/img7/51/m980.png)]]

 In fact there are no visual problems with WordPress by itself, but that
 would limit the plugin/theme developers to use elements with z-index
 greater than 99 - any element that has at least a z-index of 100 will get
 displayed over the submenu element.

--
Ticket URL: <http://core.trac.wordpress.org/ticket/26280#comment:11>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list