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

Unified Diff: LayoutTests/fast/dom/script-tests/css-RGBValue.js

Issue 689323002: Remove tests which are only testing getPropertyCSSValue, etc. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 1 month 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: LayoutTests/fast/dom/script-tests/css-RGBValue.js
diff --git a/LayoutTests/fast/dom/script-tests/css-RGBValue.js b/LayoutTests/fast/dom/script-tests/css-RGBValue.js
deleted file mode 100644
index 404edb239f98e9784ea1866c9c03c8a6d0a557ee..0000000000000000000000000000000000000000
--- a/LayoutTests/fast/dom/script-tests/css-RGBValue.js
+++ /dev/null
@@ -1,9 +0,0 @@
-description("This test ensures that objects RGBColor objects return the correct values.");
-
-var element = document.createElement('div');
-document.documentElement.appendChild(element);
-element.style.color = "rgb(10, 20, 30)";
-
-shouldBe("window.getComputedStyle(element, '').getPropertyCSSValue('color').getRGBColorValue().red.getFloatValue(CSSPrimitiveValue.CSS_NUMBER)", "10");
-shouldBe("window.getComputedStyle(element, '').getPropertyCSSValue('color').getRGBColorValue().green.getFloatValue(CSSPrimitiveValue.CSS_NUMBER)", "20");
-shouldBe("window.getComputedStyle(element, '').getPropertyCSSValue('color').getRGBColorValue().blue.getFloatValue(CSSPrimitiveValue.CSS_NUMBER)", "30");
« no previous file with comments | « LayoutTests/fast/dom/css-RGBValue-expected.txt ('k') | LayoutTests/fast/dom/script-tests/setPrimitiveValue-exceptions.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698