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

Status: FAIL | Duration: 65ms | Subtests: 2/11 | 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'] = "auto" should set the property valuePASS
e.style['pointer-events'] = "bounding-box" should set the property valueFAILassert_not_equals: property should be set got disallowed value ""
e.style['pointer-events'] = "visiblePainted" should set the property valueFAILassert_not_equals: property should be set got disallowed value ""
e.style['pointer-events'] = "visibleFill" should set the property valueFAILassert_not_equals: property should be set got disallowed value ""
e.style['pointer-events'] = "visibleStroke" should set the property valueFAILassert_not_equals: property should be set got disallowed value ""
e.style['pointer-events'] = "visible" should set the property valueFAILassert_not_equals: property should be set got disallowed value ""
e.style['pointer-events'] = "painted" should set the property valueFAILassert_not_equals: property should be set got disallowed value ""
e.style['pointer-events'] = "fill" should set the property valueFAILassert_not_equals: property should be set got disallowed value ""
e.style['pointer-events'] = "stroke" should set the property valueFAILassert_not_equals: property should be set got disallowed value ""
e.style['pointer-events'] = "all" should set the property valueFAILassert_not_equals: property should be set got disallowed value ""
e.style['pointer-events'] = "none" should set the property valuePASS

/svg/interact/parsing/pointer-events-valid.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 valid 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 the full 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_valid_value("pointer-events", "auto");
test_valid_value("pointer-events", "bounding-box");
test_valid_value("pointer-events", "visiblePainted", "visiblepainted");
test_valid_value("pointer-events", "visibleFill", "visiblefill");
test_valid_value("pointer-events", "visibleStroke", "visiblestroke");
test_valid_value("pointer-events", "visible");
test_valid_value("pointer-events", "painted");
test_valid_value("pointer-events", "fill");
test_valid_value("pointer-events", "stroke");
test_valid_value("pointer-events", "all");
test_valid_value("pointer-events", "none");

  ]]></script>
</svg>