| Index: LayoutTests/css3/blending/script-tests/blend-mode-property-parsing.js
|
| diff --git a/LayoutTests/css3/blending/script-tests/blend-mode-property-parsing.js b/LayoutTests/css3/blending/script-tests/blend-mode-property-parsing.js
|
| index 5c14b97d08886173a7e12883bf1e95c2f12bfd7a..5155124eefc6a39d5890534f3d228cca14ae4ff8 100644
|
| --- a/LayoutTests/css3/blending/script-tests/blend-mode-property-parsing.js
|
| +++ b/LayoutTests/css3/blending/script-tests/blend-mode-property-parsing.js
|
| @@ -1,24 +1,5 @@
|
| description("Test the parsing of the mix-blend-mode property.");
|
|
|
| -function jsWrapperClass(node)
|
| -{
|
| - if (!node)
|
| - return "[null]";
|
| - var string = Object.prototype.toString.apply(node);
|
| - return string.substr(8, string.length - 9);
|
| -}
|
| -
|
| -function shouldBeType(expression, className, prototypeName, constructorName)
|
| -{
|
| - if (!prototypeName)
|
| - prototypeName = "Object";
|
| - if (!constructorName)
|
| - constructorName = "Function";
|
| - shouldBe("jsWrapperClass(" + expression + ")", "'" + className + "'");
|
| - shouldBe("jsWrapperClass(" + expression + ".__proto__)", "'" + prototypeName + "'");
|
| - shouldBe("jsWrapperClass(" + expression + ".constructor)", "'" + constructorName + "'");
|
| -}
|
| -
|
| // These have to be global for the test helpers to see them.
|
| var stylesheet, cssRule, declaration, blendModeRule, subRule;
|
| var styleElement = document.createElement("style");
|
| @@ -38,9 +19,6 @@ function testBlendModeRule(description, rule, expectedLength, expectedValue, exp
|
| declaration = cssRule.style;
|
| shouldBe("declaration.length", "1");
|
| shouldBe("declaration.getPropertyValue('mix-blend-mode')", "'" + expectedValue + "'");
|
| -
|
| - blendModeRule = declaration.getPropertyCSSValue('mix-blend-mode');
|
| - shouldBeType("blendModeRule", "CSSPrimitiveValue");
|
| }
|
|
|
| var blendmodes = ["normal", "multiply", "screen", "overlay", "darken", "lighten", "color-dodge", "color-burn", "hard-light", "soft-light", "difference", "exclusion", "hue", "saturation", "color", "luminosity"];
|
|
|