Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / compositing / iframes / iframe-composited-scrolling.html
blob3035a531695ff7ca871ab344f1b68de73d5e6566
1 <!DOCTYPE html>
2 <html>
3 <head>
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.dumpAsText();
18 if (window.internals)
19 document.getElementById("result").innerText = window.internals.nonFastScrollableRects(document).length ? "FAIL" : "PASS";
22 window.addEventListener("load", doTest, false);
23 </script>
24 </head>
25 <body>
26 <iframe id="scrollable-iframe" src="resources/subframe.html" style="width: 100px; height: 100px"></iframe>
27 <iframe id="non-scrollable-iframe" src="resources/subframe.html" style="width: 2000px; height: 2000px"></iframe>
28 <pre id="result"></pre>
29 </body>
30 </html>