304Mat2 parameter tests.
305========================================
306
307Mat2 parameter.
308custom(my-filter, m mat2(1, 0, 0, 1))
309PASS styleRule.type is CSSRule.STYLE_RULE
310PASS styleDeclaration.length is 1
311PASS styleDeclaration.getPropertyValue('-webkit-filter') is 'custom(my-filter, m mat2(1, 0, 0, 1))'
312PASS filterPropertyValue instanceof CSSValueList is true
313PASS filterPropertyValue.constructor === CSSValueList is true
314PASS filterPropertyValue.__proto__ === CSSValueList.prototype is true
315PASS filterPropertyValue.length is 1
316PASS subValue.operationType is WebKitCSSFilterValue.CSS_FILTER_CUSTOM
317PASS subValue.cssText is 'custom(my-filter, m mat2(1, 0, 0, 1))'
318
319Mat2 parameter with negative values.
320custom(my-filter, m mat2(-1, -1, -1, -1))
321PASS styleRule.type is CSSRule.STYLE_RULE
322PASS styleDeclaration.length is 1
323PASS styleDeclaration.getPropertyValue('-webkit-filter') is 'custom(my-filter, m mat2(-1, -1, -1, -1))'
324PASS filterPropertyValue instanceof CSSValueList is true
325PASS filterPropertyValue.constructor === CSSValueList is true
326PASS filterPropertyValue.__proto__ === CSSValueList.prototype is true
327PASS filterPropertyValue.length is 1
328PASS subValue.operationType is WebKitCSSFilterValue.CSS_FILTER_CUSTOM
329PASS subValue.cssText is 'custom(my-filter, m mat2(-1, -1, -1, -1))'
330
331Mat2 parameter with negative and positive values.
332custom(my-filter, m mat2(-1, 1, 1, -1))
333PASS styleRule.type is CSSRule.STYLE_RULE
334PASS styleDeclaration.length is 1
335PASS styleDeclaration.getPropertyValue('-webkit-filter') is 'custom(my-filter, m mat2(-1, 1, 1, -1))'
336PASS filterPropertyValue instanceof CSSValueList is true
337PASS filterPropertyValue.constructor === CSSValueList is true
338PASS filterPropertyValue.__proto__ === CSSValueList.prototype is true
339PASS filterPropertyValue.length is 1
340PASS subValue.operationType is WebKitCSSFilterValue.CSS_FILTER_CUSTOM
341PASS subValue.cssText is 'custom(my-filter, m mat2(-1, 1, 1, -1))'
342
343Mat2 parameter with multiple signed floats.
344custom(my-filter, m mat2(1, -2.2, 3.14, 0.4))
345PASS styleRule.type is CSSRule.STYLE_RULE
346PASS styleDeclaration.length is 1
347PASS styleDeclaration.getPropertyValue('-webkit-filter') is 'custom(my-filter, m mat2(1, -2.2, 3.14, 0.4))'
348PASS filterPropertyValue instanceof CSSValueList is true
349PASS filterPropertyValue.constructor === CSSValueList is true
350PASS filterPropertyValue.__proto__ === CSSValueList.prototype is true
351PASS filterPropertyValue.length is 1
352PASS subValue.operationType is WebKitCSSFilterValue.CSS_FILTER_CUSTOM
353PASS subValue.cssText is 'custom(my-filter, m mat2(1, -2.2, 3.14, 0.4))'
354
355========================================
356Mat3 parameter tests.
357========================================
358
359Mat3 parameter.
360custom(my-filter, m mat3(1, 0, 0, 0, 1, 0, 0, 0, 1))
361PASS styleRule.type is CSSRule.STYLE_RULE
362PASS styleDeclaration.length is 1
363PASS styleDeclaration.getPropertyValue('-webkit-filter') is 'custom(my-filter, m mat3(1, 0, 0, 0, 1, 0, 0, 0, 1))'
364PASS filterPropertyValue instanceof CSSValueList is true
365PASS filterPropertyValue.constructor === CSSValueList is true
366PASS filterPropertyValue.__proto__ === CSSValueList.prototype is true
367PASS filterPropertyValue.length is 1
368PASS subValue.operationType is WebKitCSSFilterValue.CSS_FILTER_CUSTOM
369PASS subValue.cssText is 'custom(my-filter, m mat3(1, 0, 0, 0, 1, 0, 0, 0, 1))'
370
371Mat3 parameter with negative values.
372custom(my-filter, m mat3(-1, -1, -1, -1, -1, -1, -1, -1, -1))
373PASS styleRule.type is CSSRule.STYLE_RULE
374PASS styleDeclaration.length is 1
375PASS styleDeclaration.getPropertyValue('-webkit-filter') is 'custom(my-filter, m mat3(-1, -1, -1, -1, -1, -1, -1, -1, -1))'
376PASS filterPropertyValue instanceof CSSValueList is true
377PASS filterPropertyValue.constructor === CSSValueList is true
378PASS filterPropertyValue.__proto__ === CSSValueList.prototype is true
379PASS filterPropertyValue.length is 1
380PASS subValue.operationType is WebKitCSSFilterValue.CSS_FILTER_CUSTOM
381PASS subValue.cssText is 'custom(my-filter, m mat3(-1, -1, -1, -1, -1, -1, -1, -1, -1))'
382
383Mat3 parameter with negative and positive values.
384custom(my-filter, m mat3(-1, 1, 1, -1, -1, 1, 1, -1, 1))
385PASS styleRule.type is CSSRule.STYLE_RULE
386PASS styleDeclaration.length is 1
387PASS styleDeclaration.getPropertyValue('-webkit-filter') is 'custom(my-filter, m mat3(-1, 1, 1, -1, -1, 1, 1, -1, 1))'
388PASS filterPropertyValue instanceof CSSValueList is true
389PASS filterPropertyValue.constructor === CSSValueList is true
390PASS filterPropertyValue.__proto__ === CSSValueList.prototype is true
391PASS filterPropertyValue.length is 1
392PASS subValue.operationType is WebKitCSSFilterValue.CSS_FILTER_CUSTOM
393PASS subValue.cssText is 'custom(my-filter, m mat3(-1, 1, 1, -1, -1, 1, 1, -1, 1))'
394
395Mat3 parameter with multiple signed floats.
396custom(my-filter, m mat3(1, -2.2, 3.14, 0.4, 1, -2.2, 3.14, 0.4, 1))
397PASS styleRule.type is CSSRule.STYLE_RULE
398PASS styleDeclaration.length is 1
399PASS styleDeclaration.getPropertyValue('-webkit-filter') is 'custom(my-filter, m mat3(1, -2.2, 3.14, 0.4, 1, -2.2, 3.14, 0.4, 1))'
400PASS filterPropertyValue instanceof CSSValueList is true
401PASS filterPropertyValue.constructor === CSSValueList is true
402PASS filterPropertyValue.__proto__ === CSSValueList.prototype is true
403PASS filterPropertyValue.length is 1
404PASS subValue.operationType is WebKitCSSFilterValue.CSS_FILTER_CUSTOM
405PASS subValue.cssText is 'custom(my-filter, m mat3(1, -2.2, 3.14, 0.4, 1, -2.2, 3.14, 0.4, 1))'
406
407========================================
408Mat4 parameter tests.
409========================================
410
411Mat4 parameter.
412custom(my-filter, m mat4(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1))
413PASS styleRule.type is CSSRule.STYLE_RULE
414PASS styleDeclaration.length is 1
415PASS styleDeclaration.getPropertyValue('-webkit-filter') is 'custom(my-filter, m mat4(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1))'
416PASS filterPropertyValue instanceof CSSValueList is true
417PASS filterPropertyValue.constructor === CSSValueList is true
418PASS filterPropertyValue.__proto__ === CSSValueList.prototype is true
419PASS filterPropertyValue.length is 1
420PASS subValue.operationType is WebKitCSSFilterValue.CSS_FILTER_CUSTOM
421PASS subValue.cssText is 'custom(my-filter, m mat4(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1))'
422
423Mat4 parameter with negative values.
424custom(my-filter, m mat4(-1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1))
425PASS styleRule.type is CSSRule.STYLE_RULE
426PASS styleDeclaration.length is 1
427PASS styleDeclaration.getPropertyValue('-webkit-filter') is 'custom(my-filter, m mat4(-1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1))'
428PASS filterPropertyValue instanceof CSSValueList is true
429PASS filterPropertyValue.constructor === CSSValueList is true
430PASS filterPropertyValue.__proto__ === CSSValueList.prototype is true
431PASS filterPropertyValue.length is 1
432PASS subValue.operationType is WebKitCSSFilterValue.CSS_FILTER_CUSTOM
433PASS subValue.cssText is 'custom(my-filter, m mat4(-1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1))'
434
435Mat4 parameter with negative and positive values.
436custom(my-filter, m mat4(-1, 1, 1, -1, -1, 1, 1, -1, -1, 1, 1, -1, -1, 1, 1, -1))
437PASS styleRule.type is CSSRule.STYLE_RULE
438PASS styleDeclaration.length is 1
439PASS styleDeclaration.getPropertyValue('-webkit-filter') is 'custom(my-filter, m mat4(-1, 1, 1, -1, -1, 1, 1, -1, -1, 1, 1, -1, -1, 1, 1, -1))'
440PASS filterPropertyValue instanceof CSSValueList is true
441PASS filterPropertyValue.constructor === CSSValueList is true
442PASS filterPropertyValue.__proto__ === CSSValueList.prototype is true
443PASS filterPropertyValue.length is 1
444PASS subValue.operationType is WebKitCSSFilterValue.CSS_FILTER_CUSTOM
445PASS subValue.cssText is 'custom(my-filter, m mat4(-1, 1, 1, -1, -1, 1, 1, -1, -1, 1, 1, -1, -1, 1, 1, -1))'
446
447Mat4 parameter with multiple signed floats.
448custom(my-filter, m mat4(1, -2.2, 3.14, 0.4, 1, -2.2, 3.14, 0.4, 1, -2.2, 3.14, 0.4, 1, -2.2, 3.14, 0.4))
449PASS styleRule.type is CSSRule.STYLE_RULE
450PASS styleDeclaration.length is 1
451PASS styleDeclaration.getPropertyValue('-webkit-filter') is 'custom(my-filter, m mat4(1, -2.2, 3.14, 0.4, 1, -2.2, 3.14, 0.4, 1, -2.2, 3.14, 0.4, 1, -2.2, 3.14, 0.4))'
452PASS filterPropertyValue instanceof CSSValueList is true
453PASS filterPropertyValue.constructor === CSSValueList is true
454PASS filterPropertyValue.__proto__ === CSSValueList.prototype is true
455PASS filterPropertyValue.length is 1
456PASS subValue.operationType is WebKitCSSFilterValue.CSS_FILTER_CUSTOM
457PASS subValue.cssText is 'custom(my-filter, m mat4(1, -2.2, 3.14, 0.4, 1, -2.2, 3.14, 0.4, 1, -2.2, 3.14, 0.4, 1, -2.2, 3.14, 0.4))'
458
459========================================