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

Unified Diff: third_party/WebKit/LayoutTests/fast/dom/HTMLTableElement/script-tests/tBodies.js

Issue 2667393002: Stop using script-tests in fast/dom/. (Closed)
Patch Set: . Created 3 years, 11 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/script-tests/tBodies.js
diff --git a/third_party/WebKit/LayoutTests/fast/dom/HTMLTableElement/script-tests/tBodies.js b/third_party/WebKit/LayoutTests/fast/dom/HTMLTableElement/script-tests/tBodies.js
deleted file mode 100644
index 55f00eb8268fcef16d3899ee7199819f5a64bbce..0000000000000000000000000000000000000000
--- a/third_party/WebKit/LayoutTests/fast/dom/HTMLTableElement/script-tests/tBodies.js
+++ /dev/null
@@ -1,34 +0,0 @@
-description('Test behavior of the HTMLTableElement tBodies attribute in cases where there is unusual nesting.');
-
-function checkTBodyNesting(tag)
-{
- var table = document.createElement("table");
- var container = document.createElement(tag);
- var tbody = document.createElement("tbody");
- table.appendChild(container);
- container.appendChild(tbody);
- return table.tBodies.length;
-}
-
-var tags = [
- "col",
- "colgroup",
- "div",
- "form",
- "script",
- "table",
- "td",
- "tfoot",
- "th",
- "thead",
- "tr",
-];
-
-for (i = 0; i < tags.length; ++i)
- shouldBe('checkTBodyNesting("' + tags[i] + '")', '0');
-
-debug('');
-
-shouldBe('checkTBodyNesting("tbody")', '1');
-
-debug('');

Powered by Google App Engine
This is Rietveld 408576698