Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / compositing / repaint / layer-repaint.html
blob382a20e24ff2b0c85fd75b13bb30211afd27b5a9
1 <!DOCTYPE html>
3 <html>
4 <head>
5 <style type="text/css" media="screen">
6 .container {
7 border: 1px solid black;
8 height: 300px;
9 width: 200px;
10 transform: translateZ(0);
13 #tester {
14 margin: 50px;
15 height: 100px;
16 width: 100px;
17 background-color: red;
19 </style>
20 <script type="text/javascript" charset="utf-8">
21 function doTest() {
22 setTimeout("changeBackground();", 10);
24 function changeBackground() {
25 document.getElementById('tester').style.backgroundColor = 'green';
26 if (window.testRunner)
27 testRunner.notifyDone();
29 if (window.testRunner)
30 testRunner.waitUntilDone();
31 window.addEventListener('load', doTest, false);
32 </script>
33 </head>
34 <body>
35 <p>Test for repaint in a composited layer. You should see no red below.</p>
36 <div class="container">
37 <div id="tester"></div>
38 </div>
39 </body>
40 </html>