Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / compositing / iframes / resources / fixed-position-transformed-subframe.html
blob2e530a2fb29fa7b5ae354d63c63509db86097bdb
1 <!DOCTYPE html>
2 <html>
3 <head>
4 <style type='text/css'>
5 body {
6 height: 1000px;
9 .green {
10 background-color: green;
13 .fixed {
14 position: fixed;
15 top: 0px;
16 left: 0px;
19 .box {
20 width: 300px;
21 height: 300px;
24 .container {
25 position: relative;
28 .perspective {
29 -webkit-perspective: 1px;
31 </style>
32 <script src="../../../resources/run-after-layout-and-paint.js"></script>
33 <script>
34 if (window.testRunner) {
35 testRunner.dumpAsTextWithPixelResults();
38 function doTest()
40 if (window.testRunner)
41 testRunner.waitUntilDone();
43 // Any scroll should keep the fixed-position element where it is.
44 // If it stutters or disappears incorrectly, then the red background will be revealed.
45 window.scrollTo(0, 150);
47 if (window.testRunner) {
48 runAfterLayoutAndPaint(function() {
49 testRunner.notifyDone();
50 });
54 window.addEventListener('load', doTest, false);
55 </script>
56 </head>
57 <body>
58 <div class="green fixed box">
59 <div class="container">
60 <div class="perspective"></div>
61 </div>
62 </div>
63 </body>
64 </html>