Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / animations / base-render-style-body-crash.html
blobbbd66a10334c6bc190cca192a4e4cf3373babbea
1 <!DOCTYPE html>
2 <style>
3 body { transition: background-color 1s }
4 .green { background-color: green }
5 </style>
6 <style id="sheet"></style>
7 <script>
8 if (window.testRunner) {
9 testRunner.waitUntilDone();
10 testRunner.dumpAsText();
13 onload = function(){
14 document.body.className = "green";
15 // Needs these frames to establish a baseComputedStyle.
16 requestAnimationFrame(function(){
17 requestAnimationFrame(function(){
18 requestAnimationFrame(function(){
19 sheet.innerText = "@font-face { font-family: notfound; src: url(notfound.ttf) }";
20 if (window.testRunner)
21 testRunner.notifyDone();
22 });
23 });
24 });
26 </script>
27 <p>Pass if no crash or assert</p>