Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / compositing / reflections / become-simple-composited-reflection.html
blob0edc93eefaa854fd30838ab037bd20975947b622
1 <!DOCTYPE>
3 <html>
4 <head>
5 <style>
6 body {
7 margin: 0;
10 .box {
11 height: 200px;
12 width: 200px;
13 background-color: red;
14 transform: translateZ(1px);
17 .indicator {
18 position: absolute;
19 top: 200px;
20 background-color: green;
23 .reflected {
24 -webkit-box-reflect: below 0;
26 </style>
27 <script>
29 if (window.testRunner) {
30 testRunner.dumpAsTextWithPixelResults();
31 testRunner.waitUntilDone();
34 function doTest()
36 window.setTimeout(function() {
37 document.getElementById('test').style.backgroundColor = 'transparent';
38 if (window.testRunner)
39 testRunner.notifyDone();
40 }, 0);
42 window.addEventListener('load', doTest, false);
43 </script>
44 </head>
45 <body>
47 <div class="indicator box"></div>
48 <!-- You should see no red box below -->
49 <div id="test" class="reflected box"></div>
51 </body>
52 </html>