Sign in
webkit
/
WebKit
/
40ded5186f1f304e81fafcd1dd0e4fcd2a308f36
/
.
/
LayoutTests
/
compositing
/
backgrounds
/
negative-z-index-behind-body.html
blob: efc8778adc219f8da7dee5abb1c93eb056def92d [
file
] [
log
] [
blame
]
<style>
body
{
position
:
relative
;
background
:
white
;
}
div
{
position
:
absolute
;
z-index
:
-
1
;
transform
:
translateZ
(
0
);
}
.
green
{
background-color
:
green
;
width
:
200px
;
height
:
200px
;
}
</style>
<body>
<div
class
=
"green"
></div>
<div></div>