Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(824)

Side by Side Diff: LayoutTests/accessibility/display-table-cell-causes-crash.html

Issue 58533003: Move fast/js/resources files to resources. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 <html> 1 <html>
2 <head> 2 <head>
3 <script src="../fast/js/resources/js-test-pre.js"></script> 3 <script src="../resources/js-test.js"></script>
4 </head> 4 </head>
5 <body> 5 <body>
6 6
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 T H element.</p> 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 T H element.</p>
8 8
9 <div id="console"></div> 9 <div id="console"></div>
10 10
11 <table></table> 11 <table></table>
12 12
13 <script> 13 <script>
14 if (window.testRunner) 14 if (window.testRunner)
15 testRunner.dumpAsText(); 15 testRunner.dumpAsText();
16 16
17 var table = document.querySelector('table'); 17 var table = document.querySelector('table');
18 var span = document.createElement('span'); 18 var span = document.createElement('span');
19 table.appendChild(span); 19 table.appendChild(span);
20 var div = document.createElement('div'); 20 var div = document.createElement('div');
21 div.style.display = 'table-cell'; 21 div.style.display = 'table-cell';
22 table.appendChild(div); 22 table.appendChild(div);
23 var input = document.createElement('input'); 23 var input = document.createElement('input');
24 input.setAttribute('autofocus', 'autofocus'); 24 input.setAttribute('autofocus', 'autofocus');
25 div.appendChild(input); 25 div.appendChild(input);
26 </script> 26 </script>
27 27
28 28
29 </body> 29 </body>
30 </html> 30 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698