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

Unified Diff: LayoutTests/fast/dom/script-tests/non-numeric-values-numeric-parameters.js

Issue 692433003: Don't require getPropertyCSSValue in fast tests (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/non-numeric-values-numeric-parameters.js
diff --git a/LayoutTests/fast/dom/script-tests/non-numeric-values-numeric-parameters.js b/LayoutTests/fast/dom/script-tests/non-numeric-values-numeric-parameters.js
index 946afc31b98ab9fc82ed762baecb90f14b61da1b..bfff404e708d8c66974e6a04546da072ad180768 100644
--- a/LayoutTests/fast/dom/script-tests/non-numeric-values-numeric-parameters.js
+++ b/LayoutTests/fast/dom/script-tests/non-numeric-values-numeric-parameters.js
@@ -133,12 +133,6 @@ function createCSSMediaRule()
return rule;
}
-function createCSSValueList()
-{
- // FIXME: Not working in Firefox, not sure why.
- return createFromMarkup("<style>a { font-family: b, c }</style>").sheet.cssRules.item(0).style.getPropertyCSSValue("font-family");
-}
-
function createMediaList()
{
return createCSSMediaRule().media;
@@ -208,10 +202,6 @@ shouldBe("nonNumericPolicy('createCSSStyleSheet().deleteRule(x)')", "'any type a
shouldBe("nonNumericPolicy('createCSSStyleSheet().addRule(selector, styleText, x)')", "'any type allowed'");
shouldBe("nonNumericPolicy('createCSSStyleSheet().removeRule(x)')", "'any type allowed'");
-// CSSValueList
-
-shouldBe("nonNumericPolicy('createCSSValueList().item(x)')", "'any type allowed (but not omitted)'");
-
// Document
shouldBe("nonNumericPolicy('document.elementFromPoint(x, 0)')", "'any type allowed'");
« no previous file with comments | « LayoutTests/fast/dom/prototypes-expected.txt ('k') | LayoutTests/fast/dom/shadow/user-modify-inheritance.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698