Ticket #1635 (reopened feature)
0 Z-Index for Map Div
| Reported by: | euzuro | Owned by: | euzuro |
|---|---|---|---|
| Priority: | critical | Milestone: | 2.13 Release |
| Component: | Map | Version: | SVN |
| Keywords: | Cc: | ||
| State: | Review |
Description
FF2 and FF3 deal with zindexing differently.
FF2: no specified zindex -> zindex is treated as 0 FF3: no specified zindex -> go directly to all childrens' zindexes
for example, a document with DOM like this:
- elem1: zindex=5
- elem2: zindex=30
- mapDiv: zindex=none
- layer1: zindex=10
- control1: zindex=100
FF2 would order the elements (from top to bottom) as such:
elem2 (30) elem1 (5) mapDiv-layer1 (0-10) mapDiv-control1 (0-100)
...but FF3 would order the elements (again, top to bottom) as:
mapDiv-control1 (0-100) elem2 (30) mapDiv-layer1 (0-10) elem1 (5)
all of this is causing people grief in FF3 because most people do not set the zIndex on the map div, and therefore their layer, control, popup, etc are getting scattered in the z-plane.
The solution to this, then, is to assign a default zIndex to the main map div.
Attachments
Change History
Note: See
TracTickets for help on using
tickets.

