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

Unified Diff: third_party/WebKit/LayoutTests/fast/dom/HTMLTableSectionElement/insertRow-default-argument.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/HTMLTableSectionElement/insertRow-default-argument.html
diff --git a/third_party/WebKit/LayoutTests/fast/dom/HTMLTableSectionElement/insertRow-default-argument.html b/third_party/WebKit/LayoutTests/fast/dom/HTMLTableSectionElement/insertRow-default-argument.html
deleted file mode 100644
index 1a1350945a590ad59d9bb2dd25b797cd9e4e0bf0..0000000000000000000000000000000000000000
--- a/third_party/WebKit/LayoutTests/fast/dom/HTMLTableSectionElement/insertRow-default-argument.html
+++ /dev/null
@@ -1,27 +0,0 @@
-<!DOCTYPE html>
-<html>
-<head>
-<link rel="help" href="http://www.whatwg.org/specs/web-apps/current-work/multipage/tabular-data.html#the-tbody-element">
-<script src="../../../resources/js-test.js"></script>
-</head>
-<body>
-<script>
-description("Tests that HTMLTableSectionElement.insertRow()'s default argument is -1.");
-
-var tb = document.createElement("tbody");
-shouldBe("tb.__proto__", "HTMLTableSectionElement.prototype");
-
-tb.insertRow().innerHTML = "1"; // Should append.
-tb.insertRow().innerHTML = "2"; // Should append.
-tb.insertRow(-1).innerHTML = "3"; // Should append.
-tb.insertRow(0).innerHTML = "0"; // Should prepend.
-
-var rows = tb.rows;
-shouldBe("rows.length", "4");
-shouldBeEqualToString("rows[0].innerHTML", "0");
-shouldBeEqualToString("rows[1].innerHTML", "1");
-shouldBeEqualToString("rows[2].innerHTML", "2");
-shouldBeEqualToString("rows[3].innerHTML", "3");
-</script>
-</body>
-</html>

Powered by Google App Engine
This is Rietveld 408576698