Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / compositing / overflow / do-not-assert-on-invisible-composited-layers.html
blob220a7df0765e151d4a31e0173153ac4065503aec
1 <!DOCTYPE html>
2 <html>
3 <head>
4 <script>
5 if (window.testRunner)
6 testRunner.dumpAsText();
8 if (window.internals)
9 window.internals.settings.setPreferCompositingToLCDTextEnabled(true);
11 function runTests() {
12 var scrollParent = document.getElementById('scrollParent');
14 // Scroll the parent.
15 scrollParent.scrollTop = 250;
17 // Force a re-computeCompositingRequirements.
18 scrollParent.style.webkitTransform = '';
21 window.addEventListener('load', runTests, false);
22 </script>
23 </head>
24 <body>
25 <div id='scrollParent' style='transform: translateZ(0); overflow:scroll; height: 250px; width: 250px;'>
26 <div style='overflow:scroll; height: 500px; width: 500px; visibility: hidden'>
27 </div>
28 </div>
29 <pre id="result">PASS - didn't crash.</pre>
30 </body>
31 </html>