Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / compositing / iframes / iframe-content-flipping.html
blobd2f20c060363cfdd002f8576656379bc9e8f2375
1 <!DOCTYPE html>
3 <html>
4 <head>
5 <style type="text/css" media="screen">
6 iframe {
7 margin: 20px;
8 height: 200px;
9 width: 200px;
10 border: 1px solid black;
13 .composited {
14 transform: translateZ(0);
17 </style>
18 <script src="../../resources/run-after-layout-and-paint.js"></script>
19 <script type="text/javascript" charset="utf-8">
20 function doTest()
22 if (window.testRunner)
23 testRunner.waitUntilDone();
25 runAfterLayoutAndPaint(function() {
26 document.getElementById('iframe').className = 'composited';
27 if (window.testRunner)
28 testRunner.notifyDone();
29 });
32 window.addEventListener('load', doTest, false);
33 </script>
34 </head>
35 <body>
37 <!-- Test with already-composited iframe contents, and iframe itself composited. -->
38 <!-- You should see a green square, no red. -->
39 <iframe id="iframe" scrolling="no" src="resources/red-green-subframe.html"></iframe>
41 </body>
42 </html>