wpt / svg / interact / parsing / pointer-events-invalid.svg

Status: PASS | Duration: 49ms | Subtests: 3/3 | Open test on wpt.live | wpt.fyi

Data from commit:
a50cb89 wpt: run reference-named files which are themselves tests (#836) (2026-09-03)

SubtestStatusMessage
e.style['pointer-events'] = "markers" should not set the property valuePASS
e.style['pointer-events'] = "0" should not set the property valuePASS
e.style['pointer-events'] = "visiblePainted visibleFill" should not set the property valuePASS

/svg/interact/parsing/pointer-events-invalid.svg

<svg xmlns="http://www.w3.org/2000/svg"
     xmlns:h="http://www.w3.org/1999/xhtml"
     width="800px" height="8000px">
  <title>SVG Scripting and Interactivity: parsing pointer-events with invalid values</title>
  <metadata>
    <h:link rel="help" href="https://w3c.github.io/svgwg/svg2-draft/interact.html#PointerEventsProperty"/>
    <h:meta name="assert" content="pointer-events supports only the grammar 'auto | bounding-box | visiblePainted | visibleFill | visibleStroke | visible | painted | fill | stroke | all | none'."/>
  </metadata>
  <g id="target"></g>
  <h:script src="/resources/testharness.js"/>
  <h:script src="/resources/testharnessreport.js"/>
  <h:script src="/css/support/parsing-testcommon.js"/>
  <script><![CDATA[

test_invalid_value("pointer-events", "markers");
test_invalid_value("pointer-events", "0");
test_invalid_value("pointer-events", "visiblePainted visibleFill");

  ]]></script>
</svg>