Status: FAIL | Duration: 52ms | Subtests: 0/6 | 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 |
|---|---|---|
| y="0" should be a valid attribute value | FAIL | cannot convert 'null' or 'undefined' to object |
| y="5" should be a valid attribute value | FAIL | cannot convert 'null' or 'undefined' to object |
| y="-10" should be a valid attribute value | FAIL | cannot convert 'null' or 'undefined' to object |
| y="5px" should be a valid attribute value | FAIL | cannot convert 'null' or 'undefined' to object |
| y="-10px" should be a valid attribute value | FAIL | cannot convert 'null' or 'undefined' to object |
| y="5%" should be a valid attribute value | FAIL | cannot convert 'null' or 'undefined' to object |
/svg/geometry/parsing/y-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 y presentation attribute with valid values</title> <metadata> <h:link rel="help" href="https://w3c.github.io/svgwg/svg2-draft/geometry.html#Y"/> <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 y presentation attribute supports '<length-percentage> | <number>'."/> </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("y", "0", 0); test_valid_attribute_value("y", "5", 5); test_valid_attribute_value("y", "-10", -10); test_valid_attribute_value("y", "5px", 5); test_valid_attribute_value("y", "-10px", -10); test_valid_attribute_value("y", "5%", 40, "5%"); ]]></script> </svg>