Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / web-animations-api / element-animate-position-crash.html
blobbe5fc2a773ee2b67b7ac8ac0fa40aaac8a390e1b
1 <iframe id="iframe"></iframe>
2 <div id="div1"></div>
3 This test passes if it does not crash.
4 <div id="div2"></div>
5 <div id="div3"></div>
6 <embed id="embed"></embed>
7 <script>
8 try{embed.appendChild(null);}catch(e){}
9 iframe.animate([{"position":"fixed"}, {"position":"static"}], {duration: 1, fill: 'forwards'});
10 div3.appendChild(div1);
11 if (window.testRunner) {
12 testRunner.waitUntilDone();
13 testRunner.dumpAsText();
14 requestAnimationFrame(function() {
15 document.documentElement.textContent = 'PASS';
16 testRunner.notifyDone();
17 });
19 </script>