gecko-dev/layout/reftests/bugs/961887-3.html
Markus Stange 511a39c19d Bug 961887 - Find uniform opaque background colors under ContainerLayers. r=roc
--HG--
extra : rebase_source : 7b5877bc9336e3b01ec43732a5697fba7994c465
2015-02-25 11:47:22 -05:00

52 lines
758 B
HTML

<!DOCTYPE html>
<html lang="en">
<meta charset="utf-8">
<title>Test container background searching with clipped display items</title>
<style>
div {
box-sizing: border-box;
width: 200px;
height: 200px;
margin-bottom: -200px;
}
#outer {
background-color: red;
}
#container {
will-change: opacity;
}
#backgroundCover {
background-color: lime;
}
#roundedClip {
overflow: hidden;
border-radius: 20px;
}
#clippedItem {
background-color: lime;
}
#separatePaintedLayer {
position: sticky;
border: 1px solid lime;
}
</style>
<div id="outer">
<div id="container">
<div id="backgroundCover"></div>
<div id="roundedClip">
<div id="clippedItem"></div>
</div>
<div id="separatePaintedLayer"></div>
</div>
</div>