Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / compositing / repaint / composited-document-element.html
blob390ff98cc8bf931ed7f5f42f222a2f9f95b4be53
1 <!DOCTYPE html>
3 <html>
4 <head>
5 <style>
6 html {
7 -webkit-perspective: 1200px;
8 background-color: red;
10 html.changed {
11 background-color: transparent;
13 body {
14 transform: translateZ(0);
16 .box {
17 width: 100px;
18 height: 100px;
19 background-color: blue;
21 </style>
22 <script>
23 if (window.testRunner)
24 testRunner.waitUntilDone();
26 function doTest()
28 window.setTimeout(function() {
29 document.documentElement.className = 'changed';
30 if (window.testRunner)
31 testRunner.notifyDone();
32 }, 0);
34 window.addEventListener('load', doTest, false);
35 </script>
36 </head>
37 <body>
38 <p>In a pixel test, you should see a plain white background.</p>
39 </body>
40 </html>