Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / accessibility / display-table-cell-causes-crash.html
blob7f3b908d11e81fcde34222b958deb4c5bf7b4588
1 <html>
2 <head>
3 <script src="../resources/js-test.js"></script>
4 </head>
5 <body>
7 <p id="description">This test makes sure that an element with a display of table-cell doesn't cause a crash when accessibility code assumes it must be a TD or TH element.</p>
9 <div id="console"></div>
11 <table></table>
13 <script>
14 if (window.testRunner)
15 testRunner.dumpAsText();
17 var table = document.querySelector('table');
18 var span = document.createElement('span');
19 table.appendChild(span);
20 var div = document.createElement('div');
21 div.style.display = 'table-cell';
22 table.appendChild(div);
23 var input = document.createElement('input');
24 input.setAttribute('autofocus', 'autofocus');
25 div.appendChild(input);
26 </script>
29 </body>
30 </html>