Status: FAIL | Duration: 53ms | Subtests: 0/4 | 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 |
|---|---|---|
| height="0" should be a valid attribute value | FAIL | cannot convert 'null' or 'undefined' to object |
| height="5" should be a valid attribute value | FAIL | cannot convert 'null' or 'undefined' to object |
| height="5px" should be a valid attribute value | FAIL | cannot convert 'null' or 'undefined' to object |
| height="5%" should be a valid attribute value | FAIL | cannot convert 'null' or 'undefined' to object |
/svg/geometry/parsing/height-attribute-valid.svg
<?xml version="1.0" encoding="UTF-8"?> <svg xmlns="http://www.w3.org/2000/svg" xmlns:h="http://www.w3.org/1999/xhtml" width="800px" height="800px"> <title>SVG Geometry Properties: parsing the height presentation attribute with valid values</title> <metadata> <h:link rel="help" href="https://w3c.github.io/svgwg/svg2-draft/geometry.html#Sizing"/> <h:link rel="help" href="https://w3c.github.io/svgwg/svg2-draft/types.html#presentation-attribute-css-value"/> <h:link rel="help" href="https://github.com/web-platform-tests/wpt/issues/61017"/> <h:meta name="assert" content="the height presentation attribute supports '<length-percentage [0,inf]> | <number [0,inf]>'."/> </metadata> <rect id="target"/> <h:script src="/resources/testharness.js"/> <h:script src="/resources/testharnessreport.js"/> <h:script src="support/attribute-testcommon.js"/> <script><![CDATA[ test_valid_attribute_value("height", "0", 0); test_valid_attribute_value("height", "5", 5); test_valid_attribute_value("height", "5px", 5); test_valid_attribute_value("height", "5%", 40, "40px"); ]]></script> </svg>