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

Unified Diff: third_party/WebKit/LayoutTests/fast/dom/CSSStyleDeclaration/script-tests/css-style-item.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/CSSStyleDeclaration/script-tests/css-style-item.js
diff --git a/third_party/WebKit/LayoutTests/fast/dom/CSSStyleDeclaration/script-tests/css-style-item.js b/third_party/WebKit/LayoutTests/fast/dom/CSSStyleDeclaration/script-tests/css-style-item.js
deleted file mode 100644
index 34267a2293c6df7a1f4746f21b94d18efc891d83..0000000000000000000000000000000000000000
--- a/third_party/WebKit/LayoutTests/fast/dom/CSSStyleDeclaration/script-tests/css-style-item.js
+++ /dev/null
@@ -1,13 +0,0 @@
-description("This tests indexing outside the range of the style object.");
-
-var element = document.createElement('div');
-element.style.color = 'red';
-document.documentElement.appendChild(element);
-var style = element.style;
-
-shouldEvaluateTo('style.length', 1);
-shouldBeEqualToString('style[0]', 'color');
-shouldBeUndefined('style[1]');
-shouldBeUndefined('style[-1]')
-
-document.documentElement.removeChild(element);

Powered by Google App Engine
This is Rietveld 408576698