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

Unified Diff: LayoutTests/fast/dom/constants.html

Issue 711473003: Remove more testing of getPropertyCSSValue (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/constants.html
diff --git a/LayoutTests/fast/dom/constants.html b/LayoutTests/fast/dom/constants.html
index cbca266f34849cd43e2261c33c6f029359614ed3..2a48eefa7e79d61d4d50a7e0e07d3481f51db692 100644
--- a/LayoutTests/fast/dom/constants.html
+++ b/LayoutTests/fast/dom/constants.html
@@ -32,7 +32,7 @@ function shouldBe(a, b)
print(message, color);
}
-var cssRule, cssValue, nodeFilter, event;
+var cssRule, nodeFilter, event;
function test() {
if (window.testRunner)
@@ -55,17 +55,6 @@ function test() {
shouldBe("window.CSSRule.FONT_FACE_RULE", 5);
shouldBe("window.CSSRule.PAGE_RULE", 6);
- cssValue = cssRule.style.getPropertyCSSValue("color");
- shouldBe("cssValue.CSS_INHERIT", 0);
- shouldBe("cssValue.CSS_PRIMITIVE_VALUE", 1);
- shouldBe("cssValue.CSS_VALUE_LIST", 2);
- shouldBe("cssValue.CSS_CUSTOM", 3);
-
- shouldBe("window.CSSValue.CSS_INHERIT", 0);
- shouldBe("window.CSSValue.CSS_PRIMITIVE_VALUE", 1);
- shouldBe("window.CSSValue.CSS_VALUE_LIST", 2);
- shouldBe("window.CSSValue.CSS_CUSTOM", 3);
-
var nodeIterator;
try {
nodeIterator = document.createNodeIterator(document,
@@ -157,7 +146,7 @@ function test() {
</script>
</head>
<body onload="test();">
-<p>This page tests CSSRule, CSSValue, NodeFilter, and Event. It tests:</p>
+<p>This page tests CSSRule, NodeFilter, and Event. It tests:</p>
<ol>
<li>Whether their global constructors have the correct constant values</li>
<li>Whether their objects have the correct constant values</li>
« no previous file with comments | « LayoutTests/fast/dom/Window/window-property-shadowing-expected.txt ('k') | LayoutTests/fast/dom/constants-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698