Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / editing / execCommand / resources / format-block-crash-iframe.html
blob350ef56be024c510e43e08f613fba40a8f70b07e
1 <!DOCTYPE html>
2 <html>
3 <head>
4 <title>FormatBlock crash test case</title>
5 </head>
6 <!-- This is a minified version of the clusterfuzz test case at https://code.google.com/p/chromium/issues/detail?id=345005 -->
7 <body style="display: table-row;">
8 <script>
9 function run()
11 document.designMode = 'on';
12 document.execCommand('SelectAll');
13 document.execCommand('FormatBlock', false, '<' + 'div>');
14 window.setTimeout(notifyFinish, 0);
17 function notifyFinish()
19 window.parent.postMessage('FINISH', '*');
22 window.setTimeout(run, 0);
23 </script>
24 <span contenteditable="true" style="display: table-caption;"></span>
25 <span></span>
26 <div style="display: -webkit-inline-box;"><span><span>B</span></span></div>
27 <div></div>
28 </body>
29 </html>