Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / table / multiple-captions-crash5.html
blobe04827a128511aed88fb84274ca886d898a94b4a
1 <html>
2 <head>
3 <style>
4 .c0 { display: table-caption; width: 0px; }
5 .c7 { float: right; padding-right: 100px; padding-bottom: 100px;}
6 </style>
7 <script>
8 if (window.testRunner) {
9 testRunner.waitUntilDone();
12 var nodes = Array();
14 function tryToCrash()
16 try { nodes[91].appendChild(nodes[39]); } catch(e) {}
17 setTimeout('testRunner.notifyDone();',1000);
20 function boom() {
21 try { nodes[8] = document.createElement('dfn'); } catch(e) {}
22 try { nodes[8].setAttribute('class', 'c7'); } catch(e) {}
23 try { nodes[30] = document.createElement('span'); } catch(e) {}
24 try { nodes[39] = document.createElement('strong'); } catch(e) {}
25 try { nodes[69] = document.createElement('header'); } catch(e) {}
26 try { nodes[39].appendChild(nodes[69]); } catch(e) {}
27 try { nodes[89] = document.createElement('nav'); } catch(e) {}
28 try { nodes[89].setAttribute('class', 'c0'); } catch(e) {}
29 try { document.documentElement.appendChild(nodes[89]); } catch(e) {}
30 try { nodes[91] = document.createElement('form'); } catch(e) {}
31 try { nodes[91].setAttribute('class', 'c0'); } catch(e) {}
32 try { document.documentElement.appendChild(nodes[91]); } catch(e) {}
33 try { nodes[89].appendChild(nodes[8]); } catch(e) {}
34 setTimeout('try { nodes[30].appendChild(nodes[89]); } catch(e) {}', 4);
35 setTimeout('tryToCrash();', 0);
37 </script>
38 </head>
39 <body onLoad="setTimeout('boom();',0)">
40 Passes if it doesn't crash!
41 </body>
42 </html>