wpt / svg / geometry / parsing / rx-attribute-valid.svg

Status: FAIL | Duration: 54ms | Subtests: 0/5 | Open test on wpt.live | wpt.fyi

Data from commit:
96ff533 Remove hidden nodes from the acccessibility tree (#823) (2026-09-07)

SubtestStatusMessage
rx="auto" should be a valid attribute valueFAILcannot convert 'null' or 'undefined' to object
rx="0" should be a valid attribute valueFAILcannot convert 'null' or 'undefined' to object
rx="5" should be a valid attribute valueFAILcannot convert 'null' or 'undefined' to object
rx="5px" should be a valid attribute valueFAILcannot convert 'null' or 'undefined' to object
rx="5%" should be a valid attribute valueFAILcannot convert 'null' or 'undefined' to object

/svg/geometry/parsing/rx-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 rx presentation attribute with valid values</title>
  <metadata>
    <h:link rel="help" href="https://w3c.github.io/svgwg/svg2-draft/geometry.html#RX"/>
    <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 rx presentation attribute supports '&lt;length-percentage [0,inf]&gt; | &lt;number [0,inf]&gt; | auto'."/>
  </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("rx", "auto", 0, "auto");
test_valid_attribute_value("rx", "0", 0);
test_valid_attribute_value("rx", "5", 5);
test_valid_attribute_value("rx", "5px", 5);
test_valid_attribute_value("rx", "5%", 40, "5%");

  ]]></script>
</svg>