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

Unified Diff: third_party/WebKit/LayoutTests/imported/web-platform-tests/html/semantics/tabular-data/html-table-section-element.js

Issue 1984023002: Move web-platform-tests to wpt (part 1 of 2) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 7 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/imported/web-platform-tests/html/semantics/tabular-data/html-table-section-element.js
diff --git a/third_party/WebKit/LayoutTests/imported/web-platform-tests/html/semantics/tabular-data/html-table-section-element.js b/third_party/WebKit/LayoutTests/imported/web-platform-tests/html/semantics/tabular-data/html-table-section-element.js
deleted file mode 100644
index 68b68ceed80b450c66951f605fc3d7dacac4be85..0000000000000000000000000000000000000000
--- a/third_party/WebKit/LayoutTests/imported/web-platform-tests/html/semantics/tabular-data/html-table-section-element.js
+++ /dev/null
@@ -1,22 +0,0 @@
-// https://html.spec.whatwg.org/multipage/#dom-tbody-rows
-function testRowsAttribute(localName) {
- var elem = document.createElement(localName);
- assert_equals(elem.rows.length, 0);
-
- // Child <p> should *not* count as a row
- elem.appendChild(document.createElement("p"));
- assert_equals(elem.rows.length, 0);
-
- // Child <tr> should count as a row
- var childTr = document.createElement("tr");
- elem.appendChild(childTr);
- assert_equals(elem.rows.length, 1);
-
- // Nested table with child <tr> should *not* count as a row
- var nested = document.createElement(localName);
- nested.appendChild(document.createElement("tr"));
- var nestedTable = document.createElement("table");
- nestedTable.appendChild(nested);
- childTr.appendChild(nestedTable);
- assert_equals(elem.rows.length, 1);
-}

Powered by Google App Engine
This is Rietveld 408576698