Closed Bug 114996 Opened 23 years ago Closed 23 years ago

Negative z-index value causes blank DIV display

Categories

(Core :: CSS Parsing and Computation, defect)

x86
Windows 2000
defect
Not set
major

Tracking

()

RESOLVED DUPLICATE of bug 78087

People

(Reporter: momoi, Assigned: dbaron)

References

()

Details

Attachments

(2 files)

** Observed with 2001-12-11 Win32 trunk build **

The above page has 2 DIV's on the page (id=Layer1" and id="Layer2").
For styling, it uses z-index values of -2 and -1. These nagative
values seem to cause a display problem with current build resulting in
non-display of these DIV sectinons. 
CSS2 specs simply say that z-index can take "Integer" values. And
"Integer" can have "+" or "-" prefixes, i.e. it can be negative or
possitive.  This seems to be a bug in Mozilla. 

I'll attach 2 test pages below.
Neither Comm 4.x nor IE5.5 has this problem.
You can see the left and right sections of the page with the corrections 
of the 2 z-index values to positive integers keeping the relative 
positioning intact.
Look at the z-index values of the original page for the 2 DIVs. -2 and -1.
Corrected the summary line.
Summary: Negative z-index values causes almost blank display → Negative z-index value causes blank DIV display

*** This bug has been marked as a duplicate of 78087 ***
Status: NEW → RESOLVED
Closed: 23 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: