Refactoring: Pull all fullscreen code out of Document and into its own helper class
[WebKit-https.git] / LayoutTests / accessibility / contenteditable-table-check-causes-crash.html
1 <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
2 <html>
3 <head>
4 <script src="../resources/js-test-pre.js"></script>
5 </head>
6 <body>
7
8 <script>
9   description("Ensures that this snippet does not lead to a crash in the code that detects if a table is contenteditable. Bug 87409.");
10 </script>
11
12 <style>
13 .tableStyle { display: inline-table; content: counter(section);</style>
14 <script>
15 function crash() {
16   var node = document.createElement('keygen');
17   node.setAttribute('autofocus', 'autofocus');
18   node.setAttribute('class', 'tableStyle');
19   document.documentElement.appendChild(node);
20 }
21 window.onload = crash;
22 </script>
23
24 <p id="description"></p>
25 <div id="console"></div>
26
27 <script src="../resources/js-test-post.js"></script>
28 </body>
29 </html>