| <script src="../resources/js-test-pre.js"></script> |
| <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> |
| if (window.accessibilityController) { |
| accessibilityController.accessibleElementById("description"); |
| var table = document.querySelector('table'); |
| var span = document.createElement('span'); |
| var div = document.createElement('div'); |
| div.style.display = 'table-cell'; |
| var input = document.createElement('input'); |
| input.setAttribute('autofocus', 'autofocus'); |
| <script src="../resources/js-test-post.js"></script> |