blob: 071d40444175bca28de1f410d8068bade50e1b2e [file] [log] [blame]
<!DOCTYPE html>
<html>
<head>
<style>
.container {
display: inline-block;
margin: 25px;
width: 50px;
height: 50px;
position: relative;
border: 1px solid black;
}
.container div {
width: 100%;
height: 100%;
}
.potential-stacking-context {
position: relative;
z-index: auto;
background-color: silver;
}
.child {
position: absolute;
top: 10px;
left: 10px;
z-index: 1;
background-color: orange;
}
.interposer {
position: absolute;
top: 20px;
left: 20px;
z-index: 0;
background-color: green;
}
</style>
<script src="resources/will-change-stacking-helper.js"></script>
<script>
function doTest()
{
for (value of willChangeValues) {
makeStackingElement('will-change', value.property);
}
}
window.addEventListener('load', doTest, false);
</script>
</head>
<body>
</body>
</html>