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

Side by Side Diff: third_party/WebKit/LayoutTests/html/tabular_data/table_tbodies.html

Issue 2785963002: Move tests for table elements to LayoutTests/html/tabular_data/. (Closed)
Patch Set: Created 3 years, 8 months 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
OLDNEW
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="../../../resources/js-test.js"></script> 4 <script src="../../resources/js-test.js"></script>
5 </head> 5 </head>
6 <body> 6 <body>
7 <script> 7 <script>
8 description('Test behavior of the HTMLTableElement tBodies attribute in cases wh ere there is unusual nesting.'); 8 description('Test behavior of the HTMLTableElement tBodies attribute in cases wh ere there is unusual nesting.');
9 9
10 function checkTBodyNesting(tag) 10 function checkTBodyNesting(tag)
11 { 11 {
12 var table = document.createElement("table"); 12 var table = document.createElement("table");
13 var container = document.createElement(tag); 13 var container = document.createElement(tag);
14 var tbody = document.createElement("tbody"); 14 var tbody = document.createElement("tbody");
(...skipping 20 matching lines...) Expand all
35 shouldBe('checkTBodyNesting("' + tags[i] + '")', '0'); 35 shouldBe('checkTBodyNesting("' + tags[i] + '")', '0');
36 36
37 debug(''); 37 debug('');
38 38
39 shouldBe('checkTBodyNesting("tbody")', '1'); 39 shouldBe('checkTBodyNesting("tbody")', '1');
40 40
41 debug(''); 41 debug('');
42 </script> 42 </script>
43 </body> 43 </body>
44 </html> 44 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698