Update To 11.40.268.0
[platform/framework/web/crosswalk.git] / src / third_party / WebKit / LayoutTests / svg / custom / bug79798.html
1 <!-- This test passes if there is no crash. -->
2 <!-- It was created by the fuzzer and has been reduced. -->
3 <script>
4     function go() {
5
6         if (window.testRunner)
7             testRunner.dumpAsText();
8
9         q = document.getElementById('root').contentDocument;
10
11         r = document.createRange();
12         s = window.getSelection();
13
14         r.selectNodeContents( q.getElementById('g') );
15         s.addRange( r );
16
17         document.designMode = 'on';
18         q.execCommand('formatBlock', 1, 'h1');
19         q.execCommand('formatBlock', 1, 'h1');
20         q.execCommand('formatBlock', 1, 'h1');
21         document.open();
22         document.close();
23     }
24 </script>
25 <object data="resources/bug79798.svg" id="root" onload="go()"/</object>