Summary

Harness status: OK

Found 65 tests

Details

ResultTest NameMessage
PassCalling CSSUnitValue.add with no arguments returns itself
Asserts run
Pass
assert_equals("CSSUnitValue", "CSSUnitValue")
    at assert_style_value_equals ( /css/css-typed-om/resources/testhelper.js:51:3)
Pass
assert_approx_equals(1, 1, 0.000001)
    at assert_style_value_equals ( /css/css-typed-om/resources/testhelper.js:61:7)
Pass
assert_equals("number", "number")
    at assert_style_value_equals ( /css/css-typed-om/resources/testhelper.js:62:7)
PassCalling CSSMathValue.add with no arguments returns itself
Asserts run
Pass
assert_equals("CSSMathSum", "CSSMathSum")
    at assert_style_value_equals ( /css/css-typed-om/resources/testhelper.js:51:3)
Pass
assert_equals(2, 2)
    at assert_style_value_array_equals ( /css/css-typed-om/resources/testhelper.js:123:3)
Pass
assert_equals("CSSUnitValue", "CSSUnitValue")
    at assert_style_value_equals ( /css/css-typed-om/resources/testhelper.js:51:3)
Pass
assert_approx_equals(1, 1, 0.000001)
    at assert_style_value_equals ( /css/css-typed-om/resources/testhelper.js:61:7)
Pass
assert_equals("px", "px")
    at assert_style_value_equals ( /css/css-typed-om/resources/testhelper.js:62:7)
Pass
assert_equals("CSSUnitValue", "CSSUnitValue")
    at assert_style_value_equals ( /css/css-typed-om/resources/testhelper.js:51:3)
Pass
assert_approx_equals(1, 1, 0.000001)
    at assert_style_value_equals ( /css/css-typed-om/resources/testhelper.js:61:7)
Pass
assert_equals("percent", "percent")
    at assert_style_value_equals ( /css/css-typed-om/resources/testhelper.js:62:7)
PassCalling CSSNumericValue.add with a single CSSNumericValue returns correct type
Asserts run
Pass
assert_equals("CSSMathSum", "CSSMathSum")
    at Test.<anonymous> ( /css/css-typed-om/stylevalue-subclasses/numeric-objects/arithmetic.tentative.html:40:5)
PassCalling CSSMathValue.add with a single CSSNumericValue returns correct type
Asserts run
Pass
assert_equals("CSSMathSum", "CSSMathSum")
    at Test.<anonymous> ( /css/css-typed-om/stylevalue-subclasses/numeric-objects/arithmetic.tentative.html:45:5)
PassCalling CSSNumericValue.add with more than one number CSSNumericValues returns correct type
Asserts run
Pass
assert_equals("CSSMathSum", "CSSMathSum")
    at Test.<anonymous> ( /css/css-typed-om/stylevalue-subclasses/numeric-objects/arithmetic.tentative.html:50:5)
PassCalling CSSNumericValue.add can take numberish values
Asserts run
Pass
assert_equals("CSSUnitValue", "CSSUnitValue")
    at Test.<anonymous> ( /css/css-typed-om/stylevalue-subclasses/numeric-objects/arithmetic.tentative.html:55:5)
PassCalling CSSMathSum.add with number CSSUnitValues simplifies to a CSSUnitValue
Asserts run
Pass
assert_equals("CSSUnitValue", "CSSUnitValue")
    at Test.<anonymous> ( /css/css-typed-om/stylevalue-subclasses/numeric-objects/arithmetic.tentative.html:60:5)
Pass
assert_equals("number", "number")
    at Test.<anonymous> ( /css/css-typed-om/stylevalue-subclasses/numeric-objects/arithmetic.tentative.html:61:5)
PassCalling CSSNumericValue.add with incompatible types throws TypeError
Asserts run
Pass
assert_throws_js(function "function TypeError() { [native code] }", function "() => new CSS.px(0)[methodName](CSS.px(1), CSS.s(2))")
    at Test.<anonymous> ( /css/css-typed-om/stylevalue-subclasses/numeric-objects/arithmetic.tentative.html:65:5)
PassCalling CSSUnitValue.sub with no arguments returns itself
Asserts run
Pass
assert_equals("CSSUnitValue", "CSSUnitValue")
    at assert_style_value_equals ( /css/css-typed-om/resources/testhelper.js:51:3)
Pass
assert_approx_equals(1, 1, 0.000001)
    at assert_style_value_equals ( /css/css-typed-om/resources/testhelper.js:61:7)
Pass
assert_equals("number", "number")
    at assert_style_value_equals ( /css/css-typed-om/resources/testhelper.js:62:7)
PassCalling CSSMathValue.sub with no arguments returns itself
Asserts run
Pass
assert_equals("CSSMathSum", "CSSMathSum")
    at assert_style_value_equals ( /css/css-typed-om/resources/testhelper.js:51:3)
Pass
assert_equals(2, 2)
    at assert_style_value_array_equals ( /css/css-typed-om/resources/testhelper.js:123:3)
Pass
assert_equals("CSSUnitValue", "CSSUnitValue")
    at assert_style_value_equals ( /css/css-typed-om/resources/testhelper.js:51:3)
Pass
assert_approx_equals(1, 1, 0.000001)
    at assert_style_value_equals ( /css/css-typed-om/resources/testhelper.js:61:7)
Pass
assert_equals("px", "px")
    at assert_style_value_equals ( /css/css-typed-om/resources/testhelper.js:62:7)
Pass
assert_equals("CSSUnitValue", "CSSUnitValue")
    at assert_style_value_equals ( /css/css-typed-om/resources/testhelper.js:51:3)
Pass
assert_approx_equals(1, 1, 0.000001)
    at assert_style_value_equals ( /css/css-typed-om/resources/testhelper.js:61:7)
Pass
assert_equals("percent", "percent")
    at assert_style_value_equals ( /css/css-typed-om/resources/testhelper.js:62:7)
PassCalling CSSNumericValue.sub with a single CSSNumericValue returns correct type
Asserts run
Pass
assert_equals("CSSMathSum", "CSSMathSum")
    at Test.<anonymous> ( /css/css-typed-om/stylevalue-subclasses/numeric-objects/arithmetic.tentative.html:40:5)
PassCalling CSSMathValue.sub with a single CSSNumericValue returns correct type
Asserts run
Pass
assert_equals("CSSMathSum", "CSSMathSum")
    at Test.<anonymous> ( /css/css-typed-om/stylevalue-subclasses/numeric-objects/arithmetic.tentative.html:45:5)
PassCalling CSSNumericValue.sub with more than one number CSSNumericValues returns correct type
Asserts run
Pass
assert_equals("CSSMathSum", "CSSMathSum")
    at Test.<anonymous> ( /css/css-typed-om/stylevalue-subclasses/numeric-objects/arithmetic.tentative.html:50:5)
PassCalling CSSNumericValue.sub can take numberish values
Asserts run
Pass
assert_equals("CSSUnitValue", "CSSUnitValue")
    at Test.<anonymous> ( /css/css-typed-om/stylevalue-subclasses/numeric-objects/arithmetic.tentative.html:55:5)
PassCalling CSSMathSum.sub with number CSSUnitValues simplifies to a CSSUnitValue
Asserts run
Pass
assert_equals("CSSUnitValue", "CSSUnitValue")
    at Test.<anonymous> ( /css/css-typed-om/stylevalue-subclasses/numeric-objects/arithmetic.tentative.html:60:5)
Pass
assert_equals("number", "number")
    at Test.<anonymous> ( /css/css-typed-om/stylevalue-subclasses/numeric-objects/arithmetic.tentative.html:61:5)
PassCalling CSSNumericValue.sub with incompatible types throws TypeError
Asserts run
Pass
assert_throws_js(function "function TypeError() { [native code] }", function "() => new CSS.px(0)[methodName](CSS.px(1), CSS.s(2))")
    at Test.<anonymous> ( /css/css-typed-om/stylevalue-subclasses/numeric-objects/arithmetic.tentative.html:65:5)
PassCalling CSSUnitValue.mul with no arguments returns itself
Asserts run
Pass
assert_equals("CSSUnitValue", "CSSUnitValue")
    at assert_style_value_equals ( /css/css-typed-om/resources/testhelper.js:51:3)
Pass
assert_approx_equals(1, 1, 0.000001)
    at assert_style_value_equals ( /css/css-typed-om/resources/testhelper.js:61:7)
Pass
assert_equals("number", "number")
    at assert_style_value_equals ( /css/css-typed-om/resources/testhelper.js:62:7)
PassCalling CSSMathValue.mul with no arguments returns itself
Asserts run
Pass
assert_equals("CSSMathProduct", "CSSMathProduct")
    at assert_style_value_equals ( /css/css-typed-om/resources/testhelper.js:51:3)
Pass
assert_equals(2, 2)
    at assert_style_value_array_equals ( /css/css-typed-om/resources/testhelper.js:123:3)
Pass
assert_equals("CSSUnitValue", "CSSUnitValue")
    at assert_style_value_equals ( /css/css-typed-om/resources/testhelper.js:51:3)
Pass
assert_approx_equals(1, 1, 0.000001)
    at assert_style_value_equals ( /css/css-typed-om/resources/testhelper.js:61:7)
Pass
assert_equals("px", "px")
    at assert_style_value_equals ( /css/css-typed-om/resources/testhelper.js:62:7)
Pass
assert_equals("CSSUnitValue", "CSSUnitValue")
    at assert_style_value_equals ( /css/css-typed-om/resources/testhelper.js:51:3)
Pass
assert_approx_equals(1, 1, 0.000001)
    at assert_style_value_equals ( /css/css-typed-om/resources/testhelper.js:61:7)
Pass
assert_equals("percent", "percent")
    at assert_style_value_equals ( /css/css-typed-om/resources/testhelper.js:62:7)
PassCalling CSSNumericValue.mul with a single CSSNumericValue returns correct type
Asserts run
Pass
assert_equals("CSSMathProduct", "CSSMathProduct")
    at Test.<anonymous> ( /css/css-typed-om/stylevalue-subclasses/numeric-objects/arithmetic.tentative.html:40:5)
PassCalling CSSMathValue.mul with a single CSSNumericValue returns correct type
Asserts run
Pass
assert_equals("CSSMathProduct", "CSSMathProduct")
    at Test.<anonymous> ( /css/css-typed-om/stylevalue-subclasses/numeric-objects/arithmetic.tentative.html:45:5)
PassCalling CSSNumericValue.mul with more than one number CSSNumericValues returns correct type
Asserts run
Pass
assert_equals("CSSMathProduct", "CSSMathProduct")
    at Test.<anonymous> ( /css/css-typed-om/stylevalue-subclasses/numeric-objects/arithmetic.tentative.html:50:5)
PassCalling CSSNumericValue.mul can take numberish values
Asserts run
Pass
assert_equals("CSSUnitValue", "CSSUnitValue")
    at Test.<anonymous> ( /css/css-typed-om/stylevalue-subclasses/numeric-objects/arithmetic.tentative.html:55:5)
PassCalling CSSMathProduct.mul with number CSSUnitValues simplifies to a CSSUnitValue
Asserts run
Pass
assert_equals("CSSUnitValue", "CSSUnitValue")
    at Test.<anonymous> ( /css/css-typed-om/stylevalue-subclasses/numeric-objects/arithmetic.tentative.html:60:5)
Pass
assert_equals("number", "number")
    at Test.<anonymous> ( /css/css-typed-om/stylevalue-subclasses/numeric-objects/arithmetic.tentative.html:61:5)
PassCalling CSSNumericValue.mul with incompatible types throws TypeError
Asserts run
Pass
assert_throws_js(function "function TypeError() { [native code] }", function "() => new CSS.px(0)[methodName](CSS.px(1), CSS.s(2))")
    at Test.<anonymous> ( /css/css-typed-om/stylevalue-subclasses/numeric-objects/arithmetic.tentative.html:65:5)
PassCalling CSSUnitValue.div with no arguments returns itself
Asserts run
Pass
assert_equals("CSSUnitValue", "CSSUnitValue")
    at assert_style_value_equals ( /css/css-typed-om/resources/testhelper.js:51:3)
Pass
assert_approx_equals(1, 1, 0.000001)
    at assert_style_value_equals ( /css/css-typed-om/resources/testhelper.js:61:7)
Pass
assert_equals("number", "number")
    at assert_style_value_equals ( /css/css-typed-om/resources/testhelper.js:62:7)
PassCalling CSSMathValue.div with no arguments returns itself
Asserts run
Pass
assert_equals("CSSMathProduct", "CSSMathProduct")
    at assert_style_value_equals ( /css/css-typed-om/resources/testhelper.js:51:3)
Pass
assert_equals(2, 2)
    at assert_style_value_array_equals ( /css/css-typed-om/resources/testhelper.js:123:3)
Pass
assert_equals("CSSUnitValue", "CSSUnitValue")
    at assert_style_value_equals ( /css/css-typed-om/resources/testhelper.js:51:3)
Pass
assert_approx_equals(1, 1, 0.000001)
    at assert_style_value_equals ( /css/css-typed-om/resources/testhelper.js:61:7)
Pass
assert_equals("px", "px")
    at assert_style_value_equals ( /css/css-typed-om/resources/testhelper.js:62:7)
Pass
assert_equals("CSSUnitValue", "CSSUnitValue")
    at assert_style_value_equals ( /css/css-typed-om/resources/testhelper.js:51:3)
Pass
assert_approx_equals(1, 1, 0.000001)
    at assert_style_value_equals ( /css/css-typed-om/resources/testhelper.js:61:7)
Pass
assert_equals("percent", "percent")
    at assert_style_value_equals ( /css/css-typed-om/resources/testhelper.js:62:7)
PassCalling CSSNumericValue.div with a single CSSNumericValue returns correct type
Asserts run
Pass
assert_equals("CSSMathProduct", "CSSMathProduct")
    at Test.<anonymous> ( /css/css-typed-om/stylevalue-subclasses/numeric-objects/arithmetic.tentative.html:40:5)
PassCalling CSSMathValue.div with a single CSSNumericValue returns correct type
Asserts run
Pass
assert_equals("CSSMathProduct", "CSSMathProduct")
    at Test.<anonymous> ( /css/css-typed-om/stylevalue-subclasses/numeric-objects/arithmetic.tentative.html:45:5)
PassCalling CSSNumericValue.div with more than one number CSSNumericValues returns correct type
Asserts run
Pass
assert_equals("CSSMathProduct", "CSSMathProduct")
    at Test.<anonymous> ( /css/css-typed-om/stylevalue-subclasses/numeric-objects/arithmetic.tentative.html:50:5)
PassCalling CSSNumericValue.div can take numberish values
Asserts run
Pass
assert_equals("CSSUnitValue", "CSSUnitValue")
    at Test.<anonymous> ( /css/css-typed-om/stylevalue-subclasses/numeric-objects/arithmetic.tentative.html:55:5)
PassCalling CSSMathProduct.div with number CSSUnitValues simplifies to a CSSUnitValue
Asserts run
Pass
assert_equals("CSSUnitValue", "CSSUnitValue")
    at Test.<anonymous> ( /css/css-typed-om/stylevalue-subclasses/numeric-objects/arithmetic.tentative.html:60:5)
Pass
assert_equals("number", "number")
    at Test.<anonymous> ( /css/css-typed-om/stylevalue-subclasses/numeric-objects/arithmetic.tentative.html:61:5)
PassCalling CSSNumericValue.div with incompatible types throws TypeError
Asserts run
Pass
assert_throws_js(function "function TypeError() { [native code] }", function "() => new CSS.px(0)[methodName](CSS.px(1), CSS.s(2))")
    at Test.<anonymous> ( /css/css-typed-om/stylevalue-subclasses/numeric-objects/arithmetic.tentative.html:65:5)
PassCalling CSSUnitValue.min with no arguments returns itself
Asserts run
Pass
assert_equals("CSSUnitValue", "CSSUnitValue")
    at assert_style_value_equals ( /css/css-typed-om/resources/testhelper.js:51:3)
Pass
assert_approx_equals(1, 1, 0.000001)
    at assert_style_value_equals ( /css/css-typed-om/resources/testhelper.js:61:7)
Pass
assert_equals("number", "number")
    at assert_style_value_equals ( /css/css-typed-om/resources/testhelper.js:62:7)
PassCalling CSSMathValue.min with no arguments returns itself
Asserts run
Pass
assert_equals("CSSMathMin", "CSSMathMin")
    at assert_style_value_equals ( /css/css-typed-om/resources/testhelper.js:51:3)
Pass
assert_equals(2, 2)
    at assert_style_value_array_equals ( /css/css-typed-om/resources/testhelper.js:123:3)
Pass
assert_equals("CSSUnitValue", "CSSUnitValue")
    at assert_style_value_equals ( /css/css-typed-om/resources/testhelper.js:51:3)
Pass
assert_approx_equals(1, 1, 0.000001)
    at assert_style_value_equals ( /css/css-typed-om/resources/testhelper.js:61:7)
Pass
assert_equals("px", "px")
    at assert_style_value_equals ( /css/css-typed-om/resources/testhelper.js:62:7)
Pass
assert_equals("CSSUnitValue", "CSSUnitValue")
    at assert_style_value_equals ( /css/css-typed-om/resources/testhelper.js:51:3)
Pass
assert_approx_equals(1, 1, 0.000001)
    at assert_style_value_equals ( /css/css-typed-om/resources/testhelper.js:61:7)
Pass
assert_equals("percent", "percent")
    at assert_style_value_equals ( /css/css-typed-om/resources/testhelper.js:62:7)
PassCalling CSSNumericValue.min with a single CSSNumericValue returns correct type
Asserts run
Pass
assert_equals("CSSMathMin", "CSSMathMin")
    at Test.<anonymous> ( /css/css-typed-om/stylevalue-subclasses/numeric-objects/arithmetic.tentative.html:40:5)
PassCalling CSSMathValue.min with a single CSSNumericValue returns correct type
Asserts run
Pass
assert_equals("CSSMathMin", "CSSMathMin")
    at Test.<anonymous> ( /css/css-typed-om/stylevalue-subclasses/numeric-objects/arithmetic.tentative.html:45:5)
PassCalling CSSNumericValue.min with more than one number CSSNumericValues returns correct type
Asserts run
Pass
assert_equals("CSSMathMin", "CSSMathMin")
    at Test.<anonymous> ( /css/css-typed-om/stylevalue-subclasses/numeric-objects/arithmetic.tentative.html:50:5)
PassCalling CSSNumericValue.min can take numberish values
Asserts run
Pass
assert_equals("CSSUnitValue", "CSSUnitValue")
    at Test.<anonymous> ( /css/css-typed-om/stylevalue-subclasses/numeric-objects/arithmetic.tentative.html:55:5)
PassCalling CSSMathMin.min with number CSSUnitValues simplifies to a CSSUnitValue
Asserts run
Pass
assert_equals("CSSUnitValue", "CSSUnitValue")
    at Test.<anonymous> ( /css/css-typed-om/stylevalue-subclasses/numeric-objects/arithmetic.tentative.html:60:5)
Pass
assert_equals("number", "number")
    at Test.<anonymous> ( /css/css-typed-om/stylevalue-subclasses/numeric-objects/arithmetic.tentative.html:61:5)
PassCalling CSSNumericValue.min with incompatible types throws TypeError
Asserts run
Pass
assert_throws_js(function "function TypeError() { [native code] }", function "() => new CSS.px(0)[methodName](CSS.px(1), CSS.s(2))")
    at Test.<anonymous> ( /css/css-typed-om/stylevalue-subclasses/numeric-objects/arithmetic.tentative.html:65:5)
PassCalling CSSUnitValue.max with no arguments returns itself
Asserts run
Pass
assert_equals("CSSUnitValue", "CSSUnitValue")
    at assert_style_value_equals ( /css/css-typed-om/resources/testhelper.js:51:3)
Pass
assert_approx_equals(1, 1, 0.000001)
    at assert_style_value_equals ( /css/css-typed-om/resources/testhelper.js:61:7)
Pass
assert_equals("number", "number")
    at assert_style_value_equals ( /css/css-typed-om/resources/testhelper.js:62:7)
PassCalling CSSMathValue.max with no arguments returns itself
Asserts run
Pass
assert_equals("CSSMathMax", "CSSMathMax")
    at assert_style_value_equals ( /css/css-typed-om/resources/testhelper.js:51:3)
Pass
assert_equals(2, 2)
    at assert_style_value_array_equals ( /css/css-typed-om/resources/testhelper.js:123:3)
Pass
assert_equals("CSSUnitValue", "CSSUnitValue")
    at assert_style_value_equals ( /css/css-typed-om/resources/testhelper.js:51:3)
Pass
assert_approx_equals(1, 1, 0.000001)
    at assert_style_value_equals ( /css/css-typed-om/resources/testhelper.js:61:7)
Pass
assert_equals("px", "px")
    at assert_style_value_equals ( /css/css-typed-om/resources/testhelper.js:62:7)
Pass
assert_equals("CSSUnitValue", "CSSUnitValue")
    at assert_style_value_equals ( /css/css-typed-om/resources/testhelper.js:51:3)
Pass
assert_approx_equals(1, 1, 0.000001)
    at assert_style_value_equals ( /css/css-typed-om/resources/testhelper.js:61:7)
Pass
assert_equals("percent", "percent")
    at assert_style_value_equals ( /css/css-typed-om/resources/testhelper.js:62:7)
PassCalling CSSNumericValue.max with a single CSSNumericValue returns correct type
Asserts run
Pass
assert_equals("CSSMathMax", "CSSMathMax")
    at Test.<anonymous> ( /css/css-typed-om/stylevalue-subclasses/numeric-objects/arithmetic.tentative.html:40:5)
PassCalling CSSMathValue.max with a single CSSNumericValue returns correct type
Asserts run
Pass
assert_equals("CSSMathMax", "CSSMathMax")
    at Test.<anonymous> ( /css/css-typed-om/stylevalue-subclasses/numeric-objects/arithmetic.tentative.html:45:5)
PassCalling CSSNumericValue.max with more than one number CSSNumericValues returns correct type
Asserts run
Pass
assert_equals("CSSMathMax", "CSSMathMax")
    at Test.<anonymous> ( /css/css-typed-om/stylevalue-subclasses/numeric-objects/arithmetic.tentative.html:50:5)
PassCalling CSSNumericValue.max can take numberish values
Asserts run
Pass
assert_equals("CSSUnitValue", "CSSUnitValue")
    at Test.<anonymous> ( /css/css-typed-om/stylevalue-subclasses/numeric-objects/arithmetic.tentative.html:55:5)
PassCalling CSSMathMax.max with number CSSUnitValues simplifies to a CSSUnitValue
Asserts run
Pass
assert_equals("CSSUnitValue", "CSSUnitValue")
    at Test.<anonymous> ( /css/css-typed-om/stylevalue-subclasses/numeric-objects/arithmetic.tentative.html:60:5)
Pass
assert_equals("number", "number")
    at Test.<anonymous> ( /css/css-typed-om/stylevalue-subclasses/numeric-objects/arithmetic.tentative.html:61:5)
PassCalling CSSNumericValue.max with incompatible types throws TypeError
Asserts run
Pass
assert_throws_js(function "function TypeError() { [native code] }", function "() => new CSS.px(0)[methodName](CSS.px(1), CSS.s(2))")
    at Test.<anonymous> ( /css/css-typed-om/stylevalue-subclasses/numeric-objects/arithmetic.tentative.html:65:5)
PassCalling CSSUnitValue.add with CSSUnitValues with same unit simplifies to a CSSUnitValue
Asserts run
Pass
assert_equals("CSSUnitValue", "CSSUnitValue")
    at Test.<anonymous> ( /css/css-typed-om/stylevalue-subclasses/numeric-objects/arithmetic.tentative.html:71:3)
Pass
assert_equals(17, 17)
    at Test.<anonymous> ( /css/css-typed-om/stylevalue-subclasses/numeric-objects/arithmetic.tentative.html:72:3)
Pass
assert_equals("px", "px")
    at Test.<anonymous> ( /css/css-typed-om/stylevalue-subclasses/numeric-objects/arithmetic.tentative.html:73:3)
PassCalling CSSUnitValue.sub with CSSUnitValues with same unit simplifies to a CSSUnitValue
Asserts run
Pass
assert_equals("CSSUnitValue", "CSSUnitValue")
    at Test.<anonymous> ( /css/css-typed-om/stylevalue-subclasses/numeric-objects/arithmetic.tentative.html:78:3)
Pass
assert_equals(3, 3)
    at Test.<anonymous> ( /css/css-typed-om/stylevalue-subclasses/numeric-objects/arithmetic.tentative.html:79:3)
Pass
assert_equals("px", "px")
    at Test.<anonymous> ( /css/css-typed-om/stylevalue-subclasses/numeric-objects/arithmetic.tentative.html:80:3)
PassCalling CSSUnitValue.mul with all numbers simplifies to a CSSUnitValue
Asserts run
Pass
assert_equals("CSSUnitValue", "CSSUnitValue")
    at Test.<anonymous> ( /css/css-typed-om/stylevalue-subclasses/numeric-objects/arithmetic.tentative.html:85:3)
Pass
assert_equals(100, 100)
    at Test.<anonymous> ( /css/css-typed-om/stylevalue-subclasses/numeric-objects/arithmetic.tentative.html:86:3)
Pass
assert_equals("number", "number")
    at Test.<anonymous> ( /css/css-typed-om/stylevalue-subclasses/numeric-objects/arithmetic.tentative.html:87:3)
PassCalling CSSUnitValue.mul with only one non-number simplifies to a CSSUnitValue
Asserts run
Pass
assert_equals("CSSUnitValue", "CSSUnitValue")
    at Test.<anonymous> ( /css/css-typed-om/stylevalue-subclasses/numeric-objects/arithmetic.tentative.html:92:3)
Pass
assert_equals(100, 100)
    at Test.<anonymous> ( /css/css-typed-om/stylevalue-subclasses/numeric-objects/arithmetic.tentative.html:93:3)
Pass
assert_equals("px", "px")
    at Test.<anonymous> ( /css/css-typed-om/stylevalue-subclasses/numeric-objects/arithmetic.tentative.html:94:3)
PassCalling CSSUnitValue.mul with more than one non-number does not simplify to a CSSUnitValue
Asserts run
Pass
assert_equals("CSSMathProduct", "CSSMathProduct")
    at Test.<anonymous> ( /css/css-typed-om/stylevalue-subclasses/numeric-objects/arithmetic.tentative.html:99:3)
PassCalling CSSUnitValue.div with all numbers simplifies to a CSSUnitValue
Asserts run
Pass
assert_equals("CSSUnitValue", "CSSUnitValue")
    at Test.<anonymous> ( /css/css-typed-om/stylevalue-subclasses/numeric-objects/arithmetic.tentative.html:104:3)
Pass
assert_equals(1, 1)
    at Test.<anonymous> ( /css/css-typed-om/stylevalue-subclasses/numeric-objects/arithmetic.tentative.html:105:3)
Pass
assert_equals("number", "number")
    at Test.<anonymous> ( /css/css-typed-om/stylevalue-subclasses/numeric-objects/arithmetic.tentative.html:106:3)
PassCalling CSSUnitValue.div on a non-number value simplifies to a CSSUnitValue
Asserts run
Pass
assert_equals("CSSUnitValue", "CSSUnitValue")
    at Test.<anonymous> ( /css/css-typed-om/stylevalue-subclasses/numeric-objects/arithmetic.tentative.html:111:3)
Pass
assert_equals(1, 1)
    at Test.<anonymous> ( /css/css-typed-om/stylevalue-subclasses/numeric-objects/arithmetic.tentative.html:112:3)
Pass
assert_equals("px", "px")
    at Test.<anonymous> ( /css/css-typed-om/stylevalue-subclasses/numeric-objects/arithmetic.tentative.html:113:3)
PassCalling CSSUnitValue.div with a non-number value in the arguments does not simplify to a CSSUnitValue
Asserts run
Pass
assert_equals("CSSMathProduct", "CSSMathProduct")
    at Test.<anonymous> ( /css/css-typed-om/stylevalue-subclasses/numeric-objects/arithmetic.tentative.html:118:3)
PassCalling CSSUnitValue.min with CSSUnitValues with same unit simplifies to a CSSUnitValue
Asserts run
Pass
assert_equals("CSSUnitValue", "CSSUnitValue")
    at Test.<anonymous> ( /css/css-typed-om/stylevalue-subclasses/numeric-objects/arithmetic.tentative.html:123:3)
Pass
assert_equals(2, 2)
    at Test.<anonymous> ( /css/css-typed-om/stylevalue-subclasses/numeric-objects/arithmetic.tentative.html:124:3)
Pass
assert_equals("px", "px")
    at Test.<anonymous> ( /css/css-typed-om/stylevalue-subclasses/numeric-objects/arithmetic.tentative.html:125:3)
PassCalling CSSUnitValue.max with CSSUnitValues with same unit simplifies to a CSSUnitValue
Asserts run
Pass
assert_equals("CSSUnitValue", "CSSUnitValue")
    at Test.<anonymous> ( /css/css-typed-om/stylevalue-subclasses/numeric-objects/arithmetic.tentative.html:130:3)
Pass
assert_equals(10, 10)
    at Test.<anonymous> ( /css/css-typed-om/stylevalue-subclasses/numeric-objects/arithmetic.tentative.html:131:3)
Pass
assert_equals("px", "px")
    at Test.<anonymous> ( /css/css-typed-om/stylevalue-subclasses/numeric-objects/arithmetic.tentative.html:132:3)
PassCalling CSSNumericValue.sub negates all argument values
Asserts run
Pass
assert_equals("CSSMathSum", "CSSMathSum")
    at assert_style_value_equals ( /css/css-typed-om/resources/testhelper.js:51:3)
Pass
assert_equals(4, 4)
    at assert_style_value_array_equals ( /css/css-typed-om/resources/testhelper.js:123:3)
Pass
assert_equals("CSSUnitValue", "CSSUnitValue")
    at assert_style_value_equals ( /css/css-typed-om/resources/testhelper.js:51:3)
Pass
assert_approx_equals(1, 1, 0.000001)
    at assert_style_value_equals ( /css/css-typed-om/resources/testhelper.js:61:7)
Pass
assert_equals("number", "number")
    at assert_style_value_equals ( /css/css-typed-om/resources/testhelper.js:62:7)
Pass
assert_equals("CSSUnitValue", "CSSUnitValue")
    at assert_style_value_equals ( /css/css-typed-om/resources/testhelper.js:51:3)
Pass
assert_approx_equals(-1, -1, 0.000001)
    at assert_style_value_equals ( /css/css-typed-om/resources/testhelper.js:61:7)
Pass
assert_equals("number", "number")
    at assert_style_value_equals ( /css/css-typed-om/resources/testhelper.js:62:7)
Pass
assert_equals("CSSUnitValue", "CSSUnitValue")
    at assert_style_value_equals ( /css/css-typed-om/resources/testhelper.js:51:3)
Pass
assert_approx_equals(1, 1, 0.000001)
    at assert_style_value_equals ( /css/css-typed-om/resources/testhelper.js:61:7)
Pass
assert_equals("number", "number")
    at assert_style_value_equals ( /css/css-typed-om/resources/testhelper.js:62:7)
Pass
assert_equals("CSSMathNegate", "CSSMathNegate")
    at assert_style_value_equals ( /css/css-typed-om/resources/testhelper.js:51:3)
Pass
assert_equals("CSSMathSum", "CSSMathSum")
    at assert_style_value_equals ( /css/css-typed-om/resources/testhelper.js:51:3)
Pass
assert_equals(1, 1)
    at assert_style_value_array_equals ( /css/css-typed-om/resources/testhelper.js:123:3)
Pass
assert_equals("CSSUnitValue", "CSSUnitValue")
    at assert_style_value_equals ( /css/css-typed-om/resources/testhelper.js:51:3)
Pass
assert_approx_equals(1, 1, 0.000001)
    at assert_style_value_equals ( /css/css-typed-om/resources/testhelper.js:61:7)
Pass
assert_equals("number", "number")
    at assert_style_value_equals ( /css/css-typed-om/resources/testhelper.js:62:7)
PassCalling CSSNumericValue.div inverts all argument values
Asserts run
Pass
assert_equals("CSSMathProduct", "CSSMathProduct")
    at assert_style_value_equals ( /css/css-typed-om/resources/testhelper.js:51:3)
Pass
assert_equals(5, 5)
    at assert_style_value_array_equals ( /css/css-typed-om/resources/testhelper.js:123:3)
Pass
assert_equals("CSSUnitValue", "CSSUnitValue")
    at assert_style_value_equals ( /css/css-typed-om/resources/testhelper.js:51:3)
Pass
assert_approx_equals(2, 2, 0.000001)
    at assert_style_value_equals ( /css/css-typed-om/resources/testhelper.js:61:7)
Pass
assert_equals("number", "number")
    at assert_style_value_equals ( /css/css-typed-om/resources/testhelper.js:62:7)
Pass
assert_equals("CSSUnitValue", "CSSUnitValue")
    at assert_style_value_equals ( /css/css-typed-om/resources/testhelper.js:51:3)
Pass
assert_approx_equals(0.5, 0.5, 0.000001)
    at assert_style_value_equals ( /css/css-typed-om/resources/testhelper.js:61:7)
Pass
assert_equals("number", "number")
    at assert_style_value_equals ( /css/css-typed-om/resources/testhelper.js:62:7)
Pass
assert_equals("CSSMathInvert", "CSSMathInvert")
    at assert_style_value_equals ( /css/css-typed-om/resources/testhelper.js:51:3)
Pass
assert_equals("CSSUnitValue", "CSSUnitValue")
    at assert_style_value_equals ( /css/css-typed-om/resources/testhelper.js:51:3)
Pass
assert_approx_equals(2, 2, 0.000001)
    at assert_style_value_equals ( /css/css-typed-om/resources/testhelper.js:61:7)
Pass
assert_equals("px", "px")
    at assert_style_value_equals ( /css/css-typed-om/resources/testhelper.js:62:7)
Pass
assert_equals("CSSUnitValue", "CSSUnitValue")
    at assert_style_value_equals ( /css/css-typed-om/resources/testhelper.js:51:3)
Pass
assert_approx_equals(2, 2, 0.000001)
    at assert_style_value_equals ( /css/css-typed-om/resources/testhelper.js:61:7)
Pass
assert_equals("number", "number")
    at assert_style_value_equals ( /css/css-typed-om/resources/testhelper.js:62:7)
Pass
assert_equals("CSSMathInvert", "CSSMathInvert")
    at assert_style_value_equals ( /css/css-typed-om/resources/testhelper.js:51:3)
Pass
assert_equals("CSSMathSum", "CSSMathSum")
    at assert_style_value_equals ( /css/css-typed-om/resources/testhelper.js:51:3)
Pass
assert_equals(1, 1)
    at assert_style_value_array_equals ( /css/css-typed-om/resources/testhelper.js:123:3)
Pass
assert_equals("CSSUnitValue", "CSSUnitValue")
    at assert_style_value_equals ( /css/css-typed-om/resources/testhelper.js:51:3)
Pass
assert_approx_equals(2, 2, 0.000001)
    at assert_style_value_equals ( /css/css-typed-om/resources/testhelper.js:61:7)
Pass
assert_equals("number", "number")
    at assert_style_value_equals ( /css/css-typed-om/resources/testhelper.js:62:7)
PassCan not divide with CSSUnitValue which has zero value and number type
Asserts run
Pass
assert_throws_js(function "function RangeError() { [native code] }", function "() => CSS.number(2).div(CSS.number(0))")
    at Test.<anonymous> ( /css/css-typed-om/stylevalue-subclasses/numeric-objects/arithmetic.tentative.html:148:3)
Pass
assert_throws_js(function "function RangeError() { [native code] }", function "() => CSS.number(3).div(CSS.px(10) ,CSS.number(0))")
    at Test.<anonymous> ( /css/css-typed-om/stylevalue-subclasses/numeric-objects/arithmetic.tentative.html:149:3)
Pass
assert_throws_js(function "function RangeError() { [native code] }", function "() => CSS.number(2).div(CSS.number(0), CSS.number(0))")
    at Test.<anonymous> ( /css/css-typed-om/stylevalue-subclasses/numeric-objects/arithmetic.tentative.html:150:3)
PassCSSNumericValue.add should throw TypeError when the types are different.
Asserts run
Pass
assert_throws_js(function "function TypeError() { [native code] }", function "() => CSS.number(3)[methodName](CSS.px(10) ,CSS.number(0))")
    at Test.<anonymous> ( /css/css-typed-om/stylevalue-subclasses/numeric-objects/arithmetic.tentative.html:155:7)
Pass
assert_throws_js(function "function TypeError() { [native code] }", function "() => CSS.px(2)[methodName](CSS.deg(10))")
    at Test.<anonymous> ( /css/css-typed-om/stylevalue-subclasses/numeric-objects/arithmetic.tentative.html:156:7)
PassCSSNumericValue.sub should throw TypeError when the types are different.
Asserts run
Pass
assert_throws_js(function "function TypeError() { [native code] }", function "() => CSS.number(3)[methodName](CSS.px(10) ,CSS.number(0))")
    at Test.<anonymous> ( /css/css-typed-om/stylevalue-subclasses/numeric-objects/arithmetic.tentative.html:155:7)
Pass
assert_throws_js(function "function TypeError() { [native code] }", function "() => CSS.px(2)[methodName](CSS.deg(10))")
    at Test.<anonymous> ( /css/css-typed-om/stylevalue-subclasses/numeric-objects/arithmetic.tentative.html:156:7)
FailCSSNumericValue.max should throw TypeError when the types are different.assert_throws_js: function "() => CSS.number(3)[methodName](CSS.px(10) ,CSS.number(0))" did not throw
    at Test.<anonymous> (http://wpt.live/css/css-typed-om/stylevalue-subclasses/numeric-objects/arithmetic.tentative.html:155:7)
    at Test.step (http://wpt.live/resources/testharness.js:2642:25)
    at test (http://wpt.live/resources/testharness.js:633:30)
    at http://wpt.live/css/css-typed-om/stylevalue-subclasses/numeric-objects/arithmetic.tentative.html:154:5
Asserts run
Fail
assert_throws_js(function "function TypeError() { [native code] }", function "() => CSS.number(3)[methodName](CSS.px(10) ,CSS.number(0))")
    at Test.<anonymous> ( /css/css-typed-om/stylevalue-subclasses/numeric-objects/arithmetic.tentative.html:155:7)
FailCSSNumericValue.min should throw TypeError when the types are different.assert_throws_js: function "() => CSS.number(3)[methodName](CSS.px(10) ,CSS.number(0))" did not throw
    at Test.<anonymous> (http://wpt.live/css/css-typed-om/stylevalue-subclasses/numeric-objects/arithmetic.tentative.html:155:7)
    at Test.step (http://wpt.live/resources/testharness.js:2642:25)
    at test (http://wpt.live/resources/testharness.js:633:30)
    at http://wpt.live/css/css-typed-om/stylevalue-subclasses/numeric-objects/arithmetic.tentative.html:154:5
Asserts run
Fail
assert_throws_js(function "function TypeError() { [native code] }", function "() => CSS.number(3)[methodName](CSS.px(10) ,CSS.number(0))")
    at Test.<anonymous> ( /css/css-typed-om/stylevalue-subclasses/numeric-objects/arithmetic.tentative.html:155:7)