23 lines
431 B
HTML
23 lines
431 B
HTML
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<title>This tests that we paint the parent layer properly even when the child layer is positioned far off.</title>
|
|
<style>
|
|
.container {
|
|
transform: translateZ(0);
|
|
height: 100px;
|
|
width: 100px;
|
|
background-color: green;
|
|
}
|
|
|
|
.offscreen {
|
|
position: absolute;
|
|
top: -99999999px;
|
|
}
|
|
</style>
|
|
</head>
|
|
<body>
|
|
<div class="container"><div class="offscreen">foobar</div></div>
|
|
</body>
|
|
</html>
|