| OLD | NEW |
| 1 <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN"> | 1 <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN"> |
| 2 <html> | 2 <html> |
| 3 <head> | 3 <head> |
| 4 <script src="../fast/js/resources/js-test-pre.js"></script> | 4 <script src="../fast/js/resources/js-test-pre.js"></script> |
| 5 </head> | 5 </head> |
| 6 <body> | 6 <body> |
| 7 | 7 |
| 8 <script> | 8 <script> |
| 9 description("Ensures that this snippet does not lead to a crash in the code th
at detects if a table is contenteditable. Bug 87409."); | 9 description("Ensures that this snippet does not lead to a crash in the code th
at detects if a table is contenteditable. Bug 87409."); |
| 10 </script> | 10 </script> |
| 11 | 11 |
| 12 <style> | 12 <style> |
| 13 .tableStyle { display: inline-table; content: counter(section);</style> | 13 .tableStyle { display: inline-table; content: counter(section);</style> |
| 14 <script> | 14 <script> |
| 15 function crash() { | 15 function crash() { |
| 16 var node = document.createElement('keygen'); | 16 var node = document.createElement('keygen'); |
| 17 node.setAttribute('autofocus', 'autofocus'); | 17 node.setAttribute('autofocus', 'autofocus'); |
| 18 node.setAttribute('class', 'tableStyle'); | 18 node.setAttribute('class', 'tableStyle'); |
| 19 document.documentElement.appendChild(node); | 19 document.documentElement.appendChild(node); |
| 20 } | 20 } |
| 21 window.onload = crash; | 21 window.onload = crash; |
| 22 </script> | 22 </script> |
| 23 | 23 |
| 24 <p id="description"></p> | 24 <p id="description"></p> |
| 25 <div id="console"></div> | 25 <div id="console"></div> |
| 26 | 26 |
| 27 <script src="../fast/js/resources/js-test-post.js"></script> | |
| 28 </body> | 27 </body> |
| 29 </html> | 28 </html> |
| OLD | NEW |