Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / compositing / toggle-compositing.html
blob1a2e9ee55c26c2b2d38619a7defd89c2e1042eb6
1 <body style="background-color: green;">
2 <!-- This test should not assert in WebKit2, nor should it show flashing if you load it manually. -->
3 <div id="target"></div>
4 <script>
5 if (window.testRunner) {
6 testRunner.dumpAsText();
7 testRunner.waitUntilDone();
10 var count = 0;
11 var intervalID = window.setInterval(function() {
12 var target = document.getElementById("target");
13 target.style.webkitTransform = "translateZ(0)";
14 document.body.offsetTop;
15 target.style.removeProperty("-webkit-transform");
17 if (++count == 10) {
18 window.clearInterval(intervalID);
19 if (window.testRunner)
20 testRunner.notifyDone();
22 }, 100);
23 </script>
24 </body>