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

Unified Diff: third_party/WebKit/LayoutTests/fast/dom/HTMLTableElement/createCaption.html

Issue 2785963002: Move tests for table elements to LayoutTests/html/tabular_data/. (Closed)
Patch Set: Created 3 years, 9 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 side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/LayoutTests/fast/dom/HTMLTableElement/createCaption.html
diff --git a/third_party/WebKit/LayoutTests/fast/dom/HTMLTableElement/createCaption.html b/third_party/WebKit/LayoutTests/fast/dom/HTMLTableElement/createCaption.html
deleted file mode 100644
index 0b49868435861ad2e730193b64c0b67510bec508..0000000000000000000000000000000000000000
--- a/third_party/WebKit/LayoutTests/fast/dom/HTMLTableElement/createCaption.html
+++ /dev/null
@@ -1,67 +0,0 @@
-<html>
-<head>
-<title>createCaption() test</title>
-<script type="text/javascript">
-
-function captionfruit() {
- var x = document.getElementById('fruitTable').createCaption()
- x.innerHTML="<b>Fruity</b>"
-}
-
-function captionveggie() {
- var x = document.getElementById('veggieTable').createCaption()
- x.innerHTML="<b>Vegetabley</b>"
-}
-</script>
-</head>
-
-<body onload = "captionfruit(); captionveggie()">
-<p>Tests: the TABLE.createCaption() method<br>
-</p>
-<p>Conditions:<br>
-If no caption exists, the method should create an empty caption, add it to the table, and return a pointer to it.
-If a caption does exist, the method should return a pointer to it.
-</p>
-
-<p>If successful, the first table should have the caption <b>Fruity</b>, and the second table should have the caption
-<b>Vegetabley</b>. Upon failure, the first table will have no caption, and the second table will have the caption
-Things.
-</p>
-<hr>
-
-<table id="fruitTable" border="1">
-<tr>
-<th>Fruit</th>
-<th>Color</th>
-</tr>
-<tr>
-<td>Banana</td>
-<td>Yellow</td>
-</tr>
-<tr>
-<td>Grape</td>
-<td>Purple</td>
-</tr>
-</table>
-
-<br>
-
-<table id="veggieTable" border="1">
-<caption> Things </caption>
-<tr>
-<th>Vegetable</th>
-<th>Color</th>
-</tr>
-<tr>
-<td>Carrot</td>
-<td>Orange</td>
-</tr>
-<tr>
-<td>Cucumber</td>
-<td>Green</td>
-</tr>
-</table>
-
-</body>
-</html>
-

Powered by Google App Engine
This is Rietveld 408576698