| Test the parsing of the -webkit-image-set function. |
| |
| On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE". |
| |
| |
| |
| Single value for background-image : url('#a') 1x |
| PASS jsWrapperClass(imageSetRule) is 'CSSValueList' |
| PASS jsWrapperClass(imageSetRule.__proto__) is 'CSSValueListPrototype' |
| PASS jsWrapperClass(imageSetRule.constructor) is 'Function' |
| PASS imageSetRule.length is 2 |
| PASS subRule is 'a' |
| PASS subRule.cssText is '1dppx' |
| |
| Multiple values for background-image : url('#a') 1x, url('#b') 2x |
| PASS jsWrapperClass(imageSetRule) is 'CSSValueList' |
| PASS jsWrapperClass(imageSetRule.__proto__) is 'CSSValueListPrototype' |
| PASS jsWrapperClass(imageSetRule.constructor) is 'Function' |
| PASS imageSetRule.length is 4 |
| PASS subRule is 'a' |
| PASS subRule.cssText is '1dppx' |
| PASS subRule is 'b' |
| PASS subRule.cssText is '2dppx' |
| |
| Single value for background-image without url() function : '#a' 1x |
| PASS jsWrapperClass(imageSetRule) is 'CSSValueList' |
| PASS jsWrapperClass(imageSetRule.__proto__) is 'CSSValueListPrototype' |
| PASS jsWrapperClass(imageSetRule.constructor) is 'Function' |
| PASS imageSetRule.length is 2 |
| PASS subRule is 'a' |
| PASS subRule.cssText is '1dppx' |
| |
| Multiple values for background-image without url() function : '#a' 1x, '#b' 2x |
| PASS jsWrapperClass(imageSetRule) is 'CSSValueList' |
| PASS jsWrapperClass(imageSetRule.__proto__) is 'CSSValueListPrototype' |
| PASS jsWrapperClass(imageSetRule.constructor) is 'Function' |
| PASS imageSetRule.length is 4 |
| PASS subRule is 'a' |
| PASS subRule.cssText is '1dppx' |
| PASS subRule is 'b' |
| PASS subRule.cssText is '2dppx' |
| |
| Mix values with and without url() function : '#a' 1x, url('#b') 2x |
| PASS jsWrapperClass(imageSetRule) is 'CSSValueList' |
| PASS jsWrapperClass(imageSetRule.__proto__) is 'CSSValueListPrototype' |
| PASS jsWrapperClass(imageSetRule.constructor) is 'Function' |
| PASS imageSetRule.length is 4 |
| PASS subRule is 'a' |
| PASS subRule.cssText is '1dppx' |
| PASS subRule is 'b' |
| PASS subRule.cssText is '2dppx' |
| |
| Multiple values for background-image, out of order : url('#c') 3x, url('#b') 2x, url('#a') 1x |
| PASS jsWrapperClass(imageSetRule) is 'CSSValueList' |
| PASS jsWrapperClass(imageSetRule.__proto__) is 'CSSValueListPrototype' |
| PASS jsWrapperClass(imageSetRule.constructor) is 'Function' |
| PASS imageSetRule.length is 6 |
| PASS subRule is 'c' |
| PASS subRule.cssText is '3dppx' |
| PASS subRule is 'b' |
| PASS subRule.cssText is '2dppx' |
| PASS subRule is 'a' |
| PASS subRule.cssText is '1dppx' |
| |
| Single value for content : url('#a') 1x |
| PASS jsWrapperClass(imageSetRule) is 'CSSValueList' |
| PASS jsWrapperClass(imageSetRule.__proto__) is 'CSSValueListPrototype' |
| PASS jsWrapperClass(imageSetRule.constructor) is 'Function' |
| PASS imageSetRule.length is 2 |
| PASS subRule is 'a' |
| PASS subRule.cssText is '1dppx' |
| |
| Multiple values for content : url('#a') 1x, url('#b') 2x |
| PASS jsWrapperClass(imageSetRule) is 'CSSValueList' |
| PASS jsWrapperClass(imageSetRule.__proto__) is 'CSSValueListPrototype' |
| PASS jsWrapperClass(imageSetRule.constructor) is 'Function' |
| PASS imageSetRule.length is 4 |
| PASS subRule is 'a' |
| PASS subRule.cssText is '1dppx' |
| PASS subRule is 'b' |
| PASS subRule.cssText is '2dppx' |
| |
| Single value for border-image : url('#a') 1x |
| PASS jsWrapperClass(imageSetRule) is 'CSSValueList' |
| PASS jsWrapperClass(imageSetRule.__proto__) is 'CSSValueListPrototype' |
| PASS jsWrapperClass(imageSetRule.constructor) is 'Function' |
| PASS imageSetRule.length is 2 |
| PASS subRule is 'a' |
| PASS subRule.cssText is '1dppx' |
| |
| Multiple values for border-image : url('#a') 1x, url('#b') 2x |
| PASS jsWrapperClass(imageSetRule) is 'CSSValueList' |
| PASS jsWrapperClass(imageSetRule.__proto__) is 'CSSValueListPrototype' |
| PASS jsWrapperClass(imageSetRule.constructor) is 'Function' |
| PASS imageSetRule.length is 4 |
| PASS subRule is 'a' |
| PASS subRule.cssText is '1dppx' |
| PASS subRule is 'b' |
| PASS subRule.cssText is '2dppx' |
| |
| Single value for -webkit-mask-box-image : url('#a') 1x |
| PASS jsWrapperClass(imageSetRule) is 'CSSValueList' |
| PASS jsWrapperClass(imageSetRule.__proto__) is 'CSSValueListPrototype' |
| PASS jsWrapperClass(imageSetRule.constructor) is 'Function' |
| PASS imageSetRule.length is 2 |
| PASS subRule is 'a' |
| PASS subRule.cssText is '1dppx' |
| |
| Multiple values for -webkit-mask-box-image : url('#a') 1x, url('#b') 2x |
| PASS jsWrapperClass(imageSetRule) is 'CSSValueList' |
| PASS jsWrapperClass(imageSetRule.__proto__) is 'CSSValueListPrototype' |
| PASS jsWrapperClass(imageSetRule.constructor) is 'Function' |
| PASS imageSetRule.length is 4 |
| PASS subRule is 'a' |
| PASS subRule.cssText is '1dppx' |
| PASS subRule is 'b' |
| PASS subRule.cssText is '2dppx' |
| |
| Single value with dppx : url('#a') 1dppx |
| PASS jsWrapperClass(imageSetRule) is 'CSSValueList' |
| PASS jsWrapperClass(imageSetRule.__proto__) is 'CSSValueListPrototype' |
| PASS jsWrapperClass(imageSetRule.constructor) is 'Function' |
| PASS imageSetRule.length is 2 |
| PASS subRule is 'a' |
| PASS subRule.cssText is '1dppx' |
| |
| Single value with dpi : url('#a') 192dpi |
| PASS jsWrapperClass(imageSetRule) is 'CSSValueList' |
| PASS jsWrapperClass(imageSetRule.__proto__) is 'CSSValueListPrototype' |
| PASS jsWrapperClass(imageSetRule.constructor) is 'Function' |
| PASS imageSetRule.length is 2 |
| PASS subRule is 'a' |
| PASS subRule.cssText is '192dpi' |
| |
| Single value with dpcm : url('#a') 102dpcm |
| PASS jsWrapperClass(imageSetRule) is 'CSSValueList' |
| PASS jsWrapperClass(imageSetRule.__proto__) is 'CSSValueListPrototype' |
| PASS jsWrapperClass(imageSetRule.constructor) is 'Function' |
| PASS imageSetRule.length is 2 |
| PASS subRule is 'a' |
| PASS subRule.cssText is '102dpcm' |
| |
| Multiple values with dpi, dppx and x : url('#a') 1x, url('#b') 2dppx, url('#c') 250dpi |
| PASS jsWrapperClass(imageSetRule) is 'CSSValueList' |
| PASS jsWrapperClass(imageSetRule.__proto__) is 'CSSValueListPrototype' |
| PASS jsWrapperClass(imageSetRule.constructor) is 'Function' |
| PASS imageSetRule.length is 6 |
| PASS subRule is 'a' |
| PASS subRule.cssText is '1dppx' |
| PASS subRule is 'b' |
| PASS subRule.cssText is '2dppx' |
| PASS subRule is 'c' |
| PASS subRule.cssText is '250dpi' |
| PASS successfullyParsed is true |
| |
| TEST COMPLETE |
| |