WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
16130
z-index applies to non-positioned elements with opacity
https://bugs.webkit.org/show_bug.cgi?id=16130
Summary
z-index applies to non-positioned elements with opacity
Ingo Chao
Reported
2007-11-25 07:28:08 PST
opacity < 1.0 forms a stacking context. But should z-index apply to an element that is not positioned? In the test case, opacity:0.66 and z-index:2 let a red box paint above a following blue box that has opacity:0.90 set. Not in Firefox 2.0.0.9.
Attachments
testcase
(594 bytes, text/html)
2007-11-25 07:29 PST
,
Ingo Chao
no flags
Details
Stop honoring z-index on objects that are not positioned.
(1.59 KB, patch)
2008-05-14 13:01 PDT
,
Dave Hyatt
mitz: review+
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
Ingo Chao
Comment 1
2007-11-25 07:29:27 PST
Created
attachment 17505
[details]
testcase
Alexey Proskuryakov
Comment 2
2008-02-21 07:10:45 PST
See also:
bug 11905
.
Dave Hyatt
Comment 3
2008-05-14 13:01:41 PDT
Created
attachment 21132
[details]
Stop honoring z-index on objects that are not positioned.
mitz
Comment 4
2008-05-14 13:06:25 PDT
Comment on
attachment 21132
[details]
Stop honoring z-index on objects that are not positioned. r=me, please add a test case (using getComputedStyle if possible, or pixel test otherwise).
Dave Hyatt
Comment 5
2008-05-14 15:08:43 PDT
Fixed in
r33458
.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug