blob: d814513c3fcd1ec52a1aefb6cc26509fb4b9069e [file] [log] [blame]
<!DOCTYPE html>
<html>
<head>
<style>
.composited {
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>