Summary

Harness status: OK

Found 10 tests

Details

ResultTest NameMessage
PassSVGLength, converting from 'px' to other units (detached), unitless
Asserts run
Pass
assert_equals("2", "2")
    at Test.<anonymous> ( /svg/types/scripted/SVGLength-px.html:39:3)
Pass
assert_equals(2, 2)
    at Test.<anonymous> ( /svg/types/scripted/SVGLength-px.html:40:3)
Pass
assert_equals(2, 2)
    at Test.<anonymous> ( /svg/types/scripted/SVGLength-px.html:41:3)
Pass
assert_equals(1, 1)
    at Test.<anonymous> ( /svg/types/scripted/SVGLength-px.html:42:3)
FailSVGLength, converting from 'px' to other units (detached), percentageFailed to execute 'convertToSpecifiedUnits' on 'SVGLength': Could not resolve relative length.
Error: Failed to execute 'convertToSpecifiedUnits' on 'SVGLength': Could not resolve relative length.
    at Test.<anonymous> (https://wpt.live/svg/types/scripted/SVGLength-px.html:48:10)
    at Test.step (https://wpt.live/resources/testharness.js:2642:25)
    at test (https://wpt.live/resources/testharness.js:633:30)
    at https://wpt.live/svg/types/scripted/SVGLength-px.html:45:1
Asserts runNo asserts ran
FailSVGLength, converting from 'px' to other units (detached), emsFailed to execute 'convertToSpecifiedUnits' on 'SVGLength': Could not resolve relative length.
Error: Failed to execute 'convertToSpecifiedUnits' on 'SVGLength': Could not resolve relative length.
    at Test.<anonymous> (https://wpt.live/svg/types/scripted/SVGLength-px.html:58:10)
    at Test.step (https://wpt.live/resources/testharness.js:2642:25)
    at test (https://wpt.live/resources/testharness.js:633:30)
    at https://wpt.live/svg/types/scripted/SVGLength-px.html:55:1
Asserts runNo asserts ran
FailSVGLength, converting from 'px' to other units (detached), exsFailed to execute 'convertToSpecifiedUnits' on 'SVGLength': Could not resolve relative length.
Error: Failed to execute 'convertToSpecifiedUnits' on 'SVGLength': Could not resolve relative length.
    at Test.<anonymous> (https://wpt.live/svg/types/scripted/SVGLength-px.html:69:10)
    at Test.step (https://wpt.live/resources/testharness.js:2642:25)
    at test (https://wpt.live/resources/testharness.js:633:30)
    at https://wpt.live/svg/types/scripted/SVGLength-px.html:66:1
Asserts runNo asserts ran
PassSVGLength, converting from 'px' to other units (detached), cm
Asserts run
Pass
assert_equals("1.27cm", "1.27cm")
    at Test.<anonymous> ( /svg/types/scripted/SVGLength-px.html:82:3)
Pass
assert_approx_equals(1.2699999809265137, 1.27, 0.01)
    at Test.<anonymous> ( /svg/types/scripted/SVGLength-px.html:83:3)
Pass
assert_equals(48, 48)
    at Test.<anonymous> ( /svg/types/scripted/SVGLength-px.html:84:3)
Pass
assert_equals(6, 6)
    at Test.<anonymous> ( /svg/types/scripted/SVGLength-px.html:85:3)
PassSVGLength, converting from 'px' to other units (detached), mm
Asserts run
Pass
assert_equals("12.7mm", "12.7mm")
    at Test.<anonymous> ( /svg/types/scripted/SVGLength-px.html:93:3)
Pass
assert_approx_equals(12.699999809265137, 12.699999999999998, 0.01)
    at Test.<anonymous> ( /svg/types/scripted/SVGLength-px.html:94:3)
Pass
assert_equals(48, 48)
    at Test.<anonymous> ( /svg/types/scripted/SVGLength-px.html:95:3)
Pass
assert_equals(7, 7)
    at Test.<anonymous> ( /svg/types/scripted/SVGLength-px.html:96:3)
PassSVGLength, converting from 'px' to other units (detached), q
Asserts run
Pass
assert_equals(0, 0)
    at Test.<anonymous> ( /svg/types/scripted/SVGLength-px.html:102:3)
Pass
assert_approx_equals(45.354331970214844, 45.3543, 0.01)
    at Test.<anonymous> ( /svg/types/scripted/SVGLength-px.html:104:3)
Pass
assert_equals("12mm", "12mm")
    at Test.<anonymous> ( /svg/types/scripted/SVGLength-px.html:107:3)
Pass
assert_approx_equals(12, 12, 0.01)
    at Test.<anonymous> ( /svg/types/scripted/SVGLength-px.html:108:3)
Pass
assert_approx_equals(3.000004529953003, 3, 0.01)
    at Test.<anonymous> ( /svg/types/scripted/SVGLength-px.html:111:3)
PassSVGLength, converting from 'px' to other units (detached), in
Asserts run
Pass
assert_equals("0.5in", "0.5in")
    at Test.<anonymous> ( /svg/types/scripted/SVGLength-px.html:119:3)
Pass
assert_equals(0.5, 0.5)
    at Test.<anonymous> ( /svg/types/scripted/SVGLength-px.html:120:3)
Pass
assert_equals(48, 48)
    at Test.<anonymous> ( /svg/types/scripted/SVGLength-px.html:121:3)
Pass
assert_equals(8, 8)
    at Test.<anonymous> ( /svg/types/scripted/SVGLength-px.html:122:3)
PassSVGLength, converting from 'px' to other units (detached), pt
Asserts run
Pass
assert_equals("3pt", "3pt")
    at Test.<anonymous> ( /svg/types/scripted/SVGLength-px.html:130:3)
Pass
assert_equals(3, 3)
    at Test.<anonymous> ( /svg/types/scripted/SVGLength-px.html:131:3)
Pass
assert_equals(4, 4)
    at Test.<anonymous> ( /svg/types/scripted/SVGLength-px.html:132:3)
Pass
assert_equals(9, 9)
    at Test.<anonymous> ( /svg/types/scripted/SVGLength-px.html:133:3)
PassSVGLength, converting from 'px' to other units (detached), pc
Asserts run
Pass
assert_equals(1, 1)
    at Test.<anonymous> ( /svg/types/scripted/SVGLength-px.html:142:3)
Pass
assert_equals(16, 16)
    at Test.<anonymous> ( /svg/types/scripted/SVGLength-px.html:143:3)
Pass
assert_equals(10, 10)
    at Test.<anonymous> ( /svg/types/scripted/SVGLength-px.html:144:3)