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

Side by Side Diff: LayoutTests/fast/table/cellIndex-of-cell-with-different-parents.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 <!DOCTYPE html> 1 <!DOCTYPE html>
2 <html> 2 <html>
3 <head> 3 <head>
4 <script src="../js/resources/js-test-pre.js"></script> 4 <script src="../../resources/js-test.js"></script>
5 </head> 5 </head>
6 <body> 6 <body>
7 <script> 7 <script>
8 description('Testcase for bug <a href="http://webkit.org/b/93738">http://webkit. org/b/93738 </a>. \ 8 description('Testcase for bug <a href="http://webkit.org/b/93738">http://webkit. org/b/93738 </a>. \
9 The testcase checks if the cellIndex of a table cell(td/th) is correct when the cell is inside different parents.'); 9 The testcase checks if the cellIndex of a table cell(td/th) is correct when the cell is inside different parents.');
10 10
11 debug('The cellIndex of a table cell (td/th) must be -1 if its parent is other t han a table row. Otherwise \ 11 debug('The cellIndex of a table cell (td/th) must be -1 if its parent is other t han a table row. Otherwise \
12 the cellIndex must be a value greater than or equal to 0.'); 12 the cellIndex must be a value greater than or equal to 0.');
13 13
14 th_with_no_parent = document.createElement("th"); 14 th_with_no_parent = document.createElement("th");
(...skipping 26 matching lines...) Expand all
41 shouldBe('td_with_table_parent.cellIndex', '-1'); 41 shouldBe('td_with_table_parent.cellIndex', '-1');
42 42
43 tr = document.createElement("tr"); 43 tr = document.createElement("tr");
44 first_cell_th_with_tr_parent = tr.appendChild(document.createElement("th")); 44 first_cell_th_with_tr_parent = tr.appendChild(document.createElement("th"));
45 shouldBe('first_cell_th_with_tr_parent.cellIndex', '0'); 45 shouldBe('first_cell_th_with_tr_parent.cellIndex', '0');
46 second_cell_td_with_tr_parent = tr.appendChild(document.createElement("td")); 46 second_cell_td_with_tr_parent = tr.appendChild(document.createElement("td"));
47 shouldBe('second_cell_td_with_tr_parent.cellIndex', '1'); 47 shouldBe('second_cell_td_with_tr_parent.cellIndex', '1');
48 </script> 48 </script>
49 </body> 49 </body>
50 </html> 50 </html>
OLDNEW
« no previous file with comments | « LayoutTests/fast/table/border-changes.html ('k') | LayoutTests/fast/table/col-width-span-expand.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698