Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / compositing / force-compositing-mode / no-overflow-iframe-layer.html
blobf5cde19ad40ff2dc1a3b38cb3f7989456f7bde75
1 <html>
2 <head>
3 <style>
4 iframe {
5 height: 150px;
6 width: 150px;
8 </style>
9 <script>
10 function doTest()
12 document.getElementById('iframe').contentDocument.body.offsetWidth; // See wkbug.com/41999
13 if (window.testRunner) {
14 testRunner.dumpAsText();
15 document.getElementById('layertree').innerText = window.internals.layerTreeAsText(document);
18 window.addEventListener("load", doTest, false);
19 if (window.internals) {
20 internals.settings.setPreferCompositingToLCDTextEnabled(true);
22 </script>
23 </head>
24 <body>
25 <!-- this should not generate a layer and the layer tree should be empty -->
26 <iframe id="iframe" src="resources/subframe-small.html"></iframe>
27 <pre id="layertree"></pre>
28 </body>
29 </html>