blob: be41e90dafe561abadb66f7382817dc2deaa6c13 [file] [log] [blame]
<!DOCTYPE html>
<html>
<head>
<style>
.composited {
-webkit-transform: translateZ(0);
}
.outer {
position: absolute;
width: 500px;
height: 300px;
top: 60px;
left: 100px;
background-color: yellow;
}
.outlined {
outline: red auto thin;
width: 150px;
height: 50px;
background-color: lightgrey;
}
.inner {
width: 80px;
height: 100px;
}
</style>
</head>
<body>
<!-- The focus ring parts for the sub-layers should be at correct position,
regardless whether the inner layer is composited. -->
<div class="composited outer">
<div class="outlined">
<div class="composited inner"></div>
</div>
</div>
</body>
</html>