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

Unified Diff: LayoutTests/css3/compositing/script-tests/background-blend-mode-property-parsing.js

Issue 15012010: Remove the CSS_COMPOSITING define, leaving the implementation under the runtime flag, since runtime… (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: removed bogus test Created 7 years, 7 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: LayoutTests/css3/compositing/script-tests/background-blend-mode-property-parsing.js
diff --git a/LayoutTests/css3/compositing/script-tests/background-blend-mode-property-parsing.js b/LayoutTests/css3/compositing/script-tests/background-blend-mode-property-parsing.js
index f6644bde2cb155b4f035dbaa8e5fd56875403576..b2d64078996a3332c7cbd68a90cc0b46fae39996 100644
--- a/LayoutTests/css3/compositing/script-tests/background-blend-mode-property-parsing.js
+++ b/LayoutTests/css3/compositing/script-tests/background-blend-mode-property-parsing.js
@@ -11,9 +11,9 @@ function jsWrapperClass(node)
function shouldBeType(expression, className, prototypeName, constructorName)
{
if (!prototypeName)
- prototypeName = className + "Prototype";
+ prototypeName = "Object";
if (!constructorName)
- constructorName = className + "Constructor";
+ constructorName = "Function";
shouldBe("jsWrapperClass(" + expression + ")", "'" + className + "'");
shouldBe("jsWrapperClass(" + expression + ".__proto__)", "'" + prototypeName + "'");
shouldBe("jsWrapperClass(" + expression + ".constructor)", "'" + constructorName + "'");
@@ -40,10 +40,10 @@ function testBlendModeRule(description, rule, expectedLength, expectedValue, exp
shouldBe("declaration.getPropertyValue('background-blend-mode')", "'" + expectedValue + "'");
blendModeRule = declaration.getPropertyCSSValue('background-blend-mode');
- if(rule.indexOf(',') == -1)
- shouldBeType("blendModeRule", "CSSPrimitiveValue");
- else
- shouldBeType("blendModeRule", "CSSValueList");
+ if(rule.indexOf(',') == -1)
+ shouldBeType("blendModeRule", "CSSPrimitiveValue");
+ else
+ shouldBeType("blendModeRule", "CSSValueList");
}
var blendmodes = ["normal", "multiply, screen", "screen, hue", "overlay, normal", "darken, lighten, normal, luminosity", "lighten", "color-dodge", "color-burn", "hard-light", "soft-light", "difference", "exclusion", "hue", "saturation", "color", "luminosity"];

Powered by Google App Engine
This is Rietveld 408576698