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

Unified Diff: third_party/WebKit/LayoutTests/fast/dom/Element/script-tests/dimension-properties-unrendered.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/Element/script-tests/dimension-properties-unrendered.js
diff --git a/third_party/WebKit/LayoutTests/fast/dom/Element/script-tests/dimension-properties-unrendered.js b/third_party/WebKit/LayoutTests/fast/dom/Element/script-tests/dimension-properties-unrendered.js
deleted file mode 100644
index 1e2b957b04793f407888ffb40572529828f801a5..0000000000000000000000000000000000000000
--- a/third_party/WebKit/LayoutTests/fast/dom/Element/script-tests/dimension-properties-unrendered.js
+++ /dev/null
@@ -1,15 +0,0 @@
-description(
-'This test checks the scroll, client and offset dimension properties return "0" instead of undefined for an unrendered element. <div id="testDiv" style="display: none">x</div>'
-);
-
-var testDiv = document.getElementById("testDiv");
-shouldBe("testDiv.offsetLeft", "0");
-shouldBe("testDiv.offsetTop", "0");
-shouldBe("testDiv.offsetWidth", "0");
-shouldBe("testDiv.offsetHeight", "0");
-shouldBe("testDiv.clientWidth", "0");
-shouldBe("testDiv.clientHeight", "0");
-shouldBe("testDiv.scrollLeft", "0");
-shouldBe("testDiv.scrollTop", "0");
-shouldBe("testDiv.scrollWidth", "0");
-shouldBe("testDiv.scrollHeight", "0");

Powered by Google App Engine
This is Rietveld 408576698