Status: FAIL | Duration: 85ms | Subtests: 0/7 | Open test on wpt.live | wpt.fyi
Data from commit:
a50cb89 wpt: run reference-named files which are themselves tests (#836) (2026-09-03)
| Subtest | Status | Message |
|---|---|---|
| Property path-length value 'none' | FAIL | assert_true: path-length doesn't seem to be supported in the computed style expected true got false |
| Property path-length value '0' | FAIL | assert_true: path-length doesn't seem to be supported in the computed style expected true got false |
| Property path-length value '100px' | FAIL | assert_true: path-length doesn't seem to be supported in the computed style expected true got false |
| Property path-length value '10em' | FAIL | assert_true: path-length doesn't seem to be supported in the computed style expected true got false |
| Property path-length value '2rem' | FAIL | assert_true: path-length doesn't seem to be supported in the computed style expected true got false |
| Property path-length value 'calc(1px + 2px)' | FAIL | assert_true: path-length doesn't seem to be supported in the computed style expected true got false |
| Property path-length value 'calc(-1px)' | FAIL | assert_true: path-length doesn't seem to be supported in the computed style expected true got false |
/svg/path/parsing/path-length-computed.tentative.svg
<?xml version="1.0" encoding="UTF-8"?> <svg xmlns="http://www.w3.org/2000/svg" xmlns:h="http://www.w3.org/1999/xhtml"> <title>SVG Path Properties: getComputedStyle().pathLength</title> <metadata> <h:link rel="help" href="https://w3c.github.io/svgwg/svg2-draft/paths.html#PathLengthProperty"/> </metadata> <path id="target"/> <h:script src="/resources/testharness.js"/> <h:script src="/resources/testharnessreport.js"/> <h:script src="/css/support/computed-testcommon.js"/> <script><![CDATA[ test_computed_value("path-length", "none"); test_computed_value("path-length", "0", "0px"); test_computed_value("path-length", "100px"); test_computed_value("path-length", "10em", "160px"); test_computed_value("path-length", "2rem", "32px"); test_computed_value("path-length", "calc(1px + 2px)", "3px"); test_computed_value("path-length", "calc(-1px)", "0px"); ]]></script> </svg>