blob: ada5fad95dadcc305e1623d226aebcf4b4c7b566 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
<!doctype html>
<html>
<style>
.container {
position: relative;
z-index: 0;
top: 123px; /* easy to detect values */
left: 123px; /* easy to detect values */
}
#child {
width: 100px;
height: 100px;
background-color: gray;
transform: translateZ(0px);
}
</style>
<script>
if (window.testRunner)
testRunner.dumpAsText();
</script>
<body>
<!-- This test passes if there's no ASSERT in debug mode. There should be a gray rectangle on screen. -->
<div class="container">
<div id="child"></div>
</div>
</body>
</html>
|