Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / compositing / force-compositing-mode / overflow-iframe-enter-compositing.html
blobd35881766286f3f1f851a1ade058b2ddc185e18e
1 <html>
2 <head>
3 <script src="../../resources/run-after-layout-and-paint.js"></script>
4 <style>
5 iframe {
6 height: 150px;
7 width: 150px;
9 </style>
10 <script>
11 if (window.internals) {
12 internals.settings.setPreferCompositingToLCDTextEnabled(true);
14 function doTest()
16 if (window.testRunner)
17 testRunner.waitUntilDone();
18 runAfterLayoutAndPaint(function() {
19 var iframe = document.getElementById("parent-iframe");
20 var box = iframe.contentDocument.getElementById("box");
21 box.setAttribute("style", "height:500px;width:500px;");
22 iframe.contentDocument.body.offsetWidth; // See bug 41999
23 if (window.testRunner) {
24 testRunner.dumpAsText();
25 document.getElementById('layertree').innerText = window.internals.layerTreeAsText(document);
26 testRunner.notifyDone();
28 });
30 window.addEventListener("load", doTest, false);
31 </script>
32 </head>
33 <body>
34 <iframe id="parent-iframe" src="resources/subframe-small.html"></iframe>
35 <pre id="layertree"></p>
36 </body>
37 </html>