jQuery: The Write Less, Do More JavaScript Library

Ticket #1995 (closed bug: invalid)

Opened 8 months ago

Last modified 8 months ago

ui.tabs disabled tabs have no z-index with flora.tabs.css

Reported by: greg Assigned to: klaus
Type: bug Priority: minor
Milestone: 1.2.2 Component: ui
Version: 1.2.1 Keywords: tabs flora
Cc: Needs: Review

Description

a selected tab gets a z-index of 2. A de-selected tab should have the same z-index since it may need to be clicked

--- ./trunk/themes/flora/flora.tabs.css 2007-12-01 14:18:48.000000000 -0600 +++ flora.tabs.css 2007-12-01 14:49:44.000000000 -0600 @@ -49,13 +49,17 @@

.ui-tabs-nav a:link, .ui-tabs-nav a:visited {

color: #fff;

}

-.ui-tabs-nav .ui-tabs-selected a { + +.ui-tabs-nav a {

position: relative;

- top: 1px;

z-index: 2;

+} +.ui-tabs-nav .ui-tabs-selected a { + top: 1px;

margin-top: 0; background-position: 100% -23px;

}

+

.ui-tabs-nav a span {

padding-top: 1px; padding-right: 0;

Attachments

Change History

Changed 8 months ago by klaus

  • owner set to klaus

Changed 8 months ago by klaus

  • status changed from new to closed
  • resolution set to worksforme

I wasn't able to create a test case where clicking an unselected tab would fail without z-index being declared.

Changed 8 months ago by greg

  • status changed from closed to reopened
  • resolution deleted

For the test case you will need another (transparent) layer where the tabs are. Maybe this was intentional, but it seems that a better default is to make all the tabs have the same z-index all of the time.

Changed 8 months ago by klaus

  • status changed from reopened to closed
  • resolution set to invalid

I still cannot find any problems. Need a test case and additional information in which browser the bug occurs in.

Note: See TracTickets for help on using tickets.