blob: cf03f49d08885b96b80d6b6f24d4e4198981a252 [file]
Test the parsing of the -webkit-blend-mode property.
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
Basic reference : normal
PASS cssRule.type is 1
FAIL declaration.length should be 1. Was 0.
FAIL declaration.getPropertyValue('-webkit-blend-mode') should be normal (of type string). Was null (of type object).
FAIL jsWrapperClass(blendModeRule) should be CSSPrimitiveValue. Was [null].
FAIL jsWrapperClass(blendModeRule.__proto__) should be CSSPrimitiveValuePrototype. Threw exception TypeError: 'null' is not an object (evaluating 'blendModeRule.__proto__')
FAIL jsWrapperClass(blendModeRule.constructor) should be CSSPrimitiveValueConstructor. Threw exception TypeError: 'null' is not an object (evaluating 'blendModeRule.constructor')
Basic reference : multiply
PASS cssRule.type is 1
FAIL declaration.length should be 1. Was 0.
FAIL declaration.getPropertyValue('-webkit-blend-mode') should be multiply (of type string). Was null (of type object).
FAIL jsWrapperClass(blendModeRule) should be CSSPrimitiveValue. Was [null].
FAIL jsWrapperClass(blendModeRule.__proto__) should be CSSPrimitiveValuePrototype. Threw exception TypeError: 'null' is not an object (evaluating 'blendModeRule.__proto__')
FAIL jsWrapperClass(blendModeRule.constructor) should be CSSPrimitiveValueConstructor. Threw exception TypeError: 'null' is not an object (evaluating 'blendModeRule.constructor')
Basic reference : screen
PASS cssRule.type is 1
FAIL declaration.length should be 1. Was 0.
FAIL declaration.getPropertyValue('-webkit-blend-mode') should be screen (of type string). Was null (of type object).
FAIL jsWrapperClass(blendModeRule) should be CSSPrimitiveValue. Was [null].
FAIL jsWrapperClass(blendModeRule.__proto__) should be CSSPrimitiveValuePrototype. Threw exception TypeError: 'null' is not an object (evaluating 'blendModeRule.__proto__')
FAIL jsWrapperClass(blendModeRule.constructor) should be CSSPrimitiveValueConstructor. Threw exception TypeError: 'null' is not an object (evaluating 'blendModeRule.constructor')
Basic reference : overlay
PASS cssRule.type is 1
FAIL declaration.length should be 1. Was 0.
FAIL declaration.getPropertyValue('-webkit-blend-mode') should be overlay (of type string). Was null (of type object).
FAIL jsWrapperClass(blendModeRule) should be CSSPrimitiveValue. Was [null].
FAIL jsWrapperClass(blendModeRule.__proto__) should be CSSPrimitiveValuePrototype. Threw exception TypeError: 'null' is not an object (evaluating 'blendModeRule.__proto__')
FAIL jsWrapperClass(blendModeRule.constructor) should be CSSPrimitiveValueConstructor. Threw exception TypeError: 'null' is not an object (evaluating 'blendModeRule.constructor')
Basic reference : darken
PASS cssRule.type is 1
FAIL declaration.length should be 1. Was 0.
FAIL declaration.getPropertyValue('-webkit-blend-mode') should be darken (of type string). Was null (of type object).
FAIL jsWrapperClass(blendModeRule) should be CSSPrimitiveValue. Was [null].
FAIL jsWrapperClass(blendModeRule.__proto__) should be CSSPrimitiveValuePrototype. Threw exception TypeError: 'null' is not an object (evaluating 'blendModeRule.__proto__')
FAIL jsWrapperClass(blendModeRule.constructor) should be CSSPrimitiveValueConstructor. Threw exception TypeError: 'null' is not an object (evaluating 'blendModeRule.constructor')
Basic reference : lighten
PASS cssRule.type is 1
FAIL declaration.length should be 1. Was 0.
FAIL declaration.getPropertyValue('-webkit-blend-mode') should be lighten (of type string). Was null (of type object).
FAIL jsWrapperClass(blendModeRule) should be CSSPrimitiveValue. Was [null].
FAIL jsWrapperClass(blendModeRule.__proto__) should be CSSPrimitiveValuePrototype. Threw exception TypeError: 'null' is not an object (evaluating 'blendModeRule.__proto__')
FAIL jsWrapperClass(blendModeRule.constructor) should be CSSPrimitiveValueConstructor. Threw exception TypeError: 'null' is not an object (evaluating 'blendModeRule.constructor')
Basic reference : color-dodge
PASS cssRule.type is 1
FAIL declaration.length should be 1. Was 0.
FAIL declaration.getPropertyValue('-webkit-blend-mode') should be color-dodge (of type string). Was null (of type object).
FAIL jsWrapperClass(blendModeRule) should be CSSPrimitiveValue. Was [null].
FAIL jsWrapperClass(blendModeRule.__proto__) should be CSSPrimitiveValuePrototype. Threw exception TypeError: 'null' is not an object (evaluating 'blendModeRule.__proto__')
FAIL jsWrapperClass(blendModeRule.constructor) should be CSSPrimitiveValueConstructor. Threw exception TypeError: 'null' is not an object (evaluating 'blendModeRule.constructor')
Basic reference : color-burn
PASS cssRule.type is 1
FAIL declaration.length should be 1. Was 0.
FAIL declaration.getPropertyValue('-webkit-blend-mode') should be color-burn (of type string). Was null (of type object).
FAIL jsWrapperClass(blendModeRule) should be CSSPrimitiveValue. Was [null].
FAIL jsWrapperClass(blendModeRule.__proto__) should be CSSPrimitiveValuePrototype. Threw exception TypeError: 'null' is not an object (evaluating 'blendModeRule.__proto__')
FAIL jsWrapperClass(blendModeRule.constructor) should be CSSPrimitiveValueConstructor. Threw exception TypeError: 'null' is not an object (evaluating 'blendModeRule.constructor')
Basic reference : hard-light
PASS cssRule.type is 1
FAIL declaration.length should be 1. Was 0.
FAIL declaration.getPropertyValue('-webkit-blend-mode') should be hard-light (of type string). Was null (of type object).
FAIL jsWrapperClass(blendModeRule) should be CSSPrimitiveValue. Was [null].
FAIL jsWrapperClass(blendModeRule.__proto__) should be CSSPrimitiveValuePrototype. Threw exception TypeError: 'null' is not an object (evaluating 'blendModeRule.__proto__')
FAIL jsWrapperClass(blendModeRule.constructor) should be CSSPrimitiveValueConstructor. Threw exception TypeError: 'null' is not an object (evaluating 'blendModeRule.constructor')
Basic reference : soft-light
PASS cssRule.type is 1
FAIL declaration.length should be 1. Was 0.
FAIL declaration.getPropertyValue('-webkit-blend-mode') should be soft-light (of type string). Was null (of type object).
FAIL jsWrapperClass(blendModeRule) should be CSSPrimitiveValue. Was [null].
FAIL jsWrapperClass(blendModeRule.__proto__) should be CSSPrimitiveValuePrototype. Threw exception TypeError: 'null' is not an object (evaluating 'blendModeRule.__proto__')
FAIL jsWrapperClass(blendModeRule.constructor) should be CSSPrimitiveValueConstructor. Threw exception TypeError: 'null' is not an object (evaluating 'blendModeRule.constructor')
Basic reference : difference
PASS cssRule.type is 1
FAIL declaration.length should be 1. Was 0.
FAIL declaration.getPropertyValue('-webkit-blend-mode') should be difference (of type string). Was null (of type object).
FAIL jsWrapperClass(blendModeRule) should be CSSPrimitiveValue. Was [null].
FAIL jsWrapperClass(blendModeRule.__proto__) should be CSSPrimitiveValuePrototype. Threw exception TypeError: 'null' is not an object (evaluating 'blendModeRule.__proto__')
FAIL jsWrapperClass(blendModeRule.constructor) should be CSSPrimitiveValueConstructor. Threw exception TypeError: 'null' is not an object (evaluating 'blendModeRule.constructor')
Basic reference : exclusion
PASS cssRule.type is 1
FAIL declaration.length should be 1. Was 0.
FAIL declaration.getPropertyValue('-webkit-blend-mode') should be exclusion (of type string). Was null (of type object).
FAIL jsWrapperClass(blendModeRule) should be CSSPrimitiveValue. Was [null].
FAIL jsWrapperClass(blendModeRule.__proto__) should be CSSPrimitiveValuePrototype. Threw exception TypeError: 'null' is not an object (evaluating 'blendModeRule.__proto__')
FAIL jsWrapperClass(blendModeRule.constructor) should be CSSPrimitiveValueConstructor. Threw exception TypeError: 'null' is not an object (evaluating 'blendModeRule.constructor')
Basic reference : hue
PASS cssRule.type is 1
FAIL declaration.length should be 1. Was 0.
FAIL declaration.getPropertyValue('-webkit-blend-mode') should be hue (of type string). Was null (of type object).
FAIL jsWrapperClass(blendModeRule) should be CSSPrimitiveValue. Was [null].
FAIL jsWrapperClass(blendModeRule.__proto__) should be CSSPrimitiveValuePrototype. Threw exception TypeError: 'null' is not an object (evaluating 'blendModeRule.__proto__')
FAIL jsWrapperClass(blendModeRule.constructor) should be CSSPrimitiveValueConstructor. Threw exception TypeError: 'null' is not an object (evaluating 'blendModeRule.constructor')
Basic reference : saturation
PASS cssRule.type is 1
FAIL declaration.length should be 1. Was 0.
FAIL declaration.getPropertyValue('-webkit-blend-mode') should be saturation (of type string). Was null (of type object).
FAIL jsWrapperClass(blendModeRule) should be CSSPrimitiveValue. Was [null].
FAIL jsWrapperClass(blendModeRule.__proto__) should be CSSPrimitiveValuePrototype. Threw exception TypeError: 'null' is not an object (evaluating 'blendModeRule.__proto__')
FAIL jsWrapperClass(blendModeRule.constructor) should be CSSPrimitiveValueConstructor. Threw exception TypeError: 'null' is not an object (evaluating 'blendModeRule.constructor')
Basic reference : color
PASS cssRule.type is 1
FAIL declaration.length should be 1. Was 0.
FAIL declaration.getPropertyValue('-webkit-blend-mode') should be color (of type string). Was null (of type object).
FAIL jsWrapperClass(blendModeRule) should be CSSPrimitiveValue. Was [null].
FAIL jsWrapperClass(blendModeRule.__proto__) should be CSSPrimitiveValuePrototype. Threw exception TypeError: 'null' is not an object (evaluating 'blendModeRule.__proto__')
FAIL jsWrapperClass(blendModeRule.constructor) should be CSSPrimitiveValueConstructor. Threw exception TypeError: 'null' is not an object (evaluating 'blendModeRule.constructor')
Basic reference : luminosity
PASS cssRule.type is 1
FAIL declaration.length should be 1. Was 0.
FAIL declaration.getPropertyValue('-webkit-blend-mode') should be luminosity (of type string). Was null (of type object).
FAIL jsWrapperClass(blendModeRule) should be CSSPrimitiveValue. Was [null].
FAIL jsWrapperClass(blendModeRule.__proto__) should be CSSPrimitiveValuePrototype. Threw exception TypeError: 'null' is not an object (evaluating 'blendModeRule.__proto__')
FAIL jsWrapperClass(blendModeRule.constructor) should be CSSPrimitiveValueConstructor. Threw exception TypeError: 'null' is not an object (evaluating 'blendModeRule.constructor')
PASS successfullyParsed is true
TEST COMPLETE