wpt / svg / styling / required-properties.svg

Status: FAIL | Duration: 88ms | Subtests: 61/82 | 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
Property "alignment-baseline" is supportedPASS
Property "baseline-shift" is supportedPASS
Property "clip" is supportedPASS
Property "clip-path" is supportedPASS
Property "clip-rule" is supportedFAILassert_true: expected true got false
Property "color" is supportedPASS
Property "color-interpolation" is supportedFAILassert_true: expected true got false
Property "color-interpolation-filters" is supportedFAILassert_true: expected true got false
Property "cursor" is supportedPASS
Property "direction" is supportedPASS
Property "display" is supportedPASS
Property "dominant-baseline" is supportedFAILassert_true: expected true got false
Property "fill" is supportedPASS
Property "fill-opacity" is supportedPASS
Property "fill-rule" is supportedPASS
Property "filter" is supportedPASS
Property "flood-color" is supportedFAILassert_true: expected true got false
Property "flood-opacity" is supportedFAILassert_true: expected true got false
Property "font" is supportedPASS
Property "font-family" is supportedPASS
Property "font-feature-settings" is supportedPASS
Property "font-kerning" is supportedPASS
Property "font-size" is supportedPASS
Property "font-size-adjust" is supportedPASS
Property "font-stretch" is supportedPASS
Property "font-style" is supportedPASS
Property "font-variant" is supportedPASS
Property "font-variant-caps" is supportedPASS
Property "font-variant-east-asian" is supportedPASS
Property "font-variant-ligatures" is supportedPASS
Property "font-variant-numeric" is supportedPASS
Property "font-variant-position" is supportedPASS
Property "font-weight" is supportedPASS
Property "glyph-orientation-vertical" is supportedFAILassert_true: expected true got false
Property "image-rendering" is supportedPASS
Property "isolation" is supportedPASS
Property "letter-spacing" is supportedPASS
Property "lighting-color" is supportedFAILassert_true: expected true got false
Property "line-height" is supportedPASS
Property "marker" is supportedFAILassert_true: expected true got false
Property "marker-end" is supportedFAILassert_true: expected true got false
Property "marker-mid" is supportedFAILassert_true: expected true got false
Property "marker-start" is supportedFAILassert_true: expected true got false
Property "mask" is supportedPASS
Property "opacity" is supportedPASS
Property "overflow" is supportedPASS
Property "paint-order" is supportedFAILassert_true: expected true got false
Property "pointer-events" is supportedPASS
Property "shape-rendering" is supportedFAILassert_true: expected true got false
Property "stop-color" is supportedFAILassert_true: expected true got false
Property "stop-opacity" is supportedFAILassert_true: expected true got false
Property "stroke" is supportedPASS
Property "stroke-dasharray" is supportedPASS
Property "stroke-dashoffset" is supportedPASS
Property "stroke-linecap" is supportedPASS
Property "stroke-linejoin" is supportedPASS
Property "stroke-miterlimit" is supportedPASS
Property "stroke-opacity" is supportedPASS
Property "stroke-width" is supportedPASS
Property "text-align" is supportedPASS
Property "text-align-all" is supportedFAILassert_true: expected true got false
Property "text-align-last" is supportedPASS
Property "text-anchor" is supportedFAILassert_true: expected true got false
Property "text-decoration" is supportedPASS
Property "text-decoration-color" is supportedPASS
Property "text-decoration-line" is supportedPASS
Property "text-decoration-style" is supportedPASS
Property "text-indent" is supportedPASS
Property "text-orientation" is supportedPASS
Property "text-overflow" is supportedPASS
Property "text-rendering" is supportedPASS
Property "transform" is supportedPASS
Property "transform-box" is supportedFAILassert_true: expected true got false
Property "transform-origin" is supportedPASS
Property "unicode-bidi" is supportedPASS
Property "vector-effect" is supportedFAILassert_true: expected true got false
Property "vertical-align" is supportedPASS
Property "visibility" is supportedPASS
Property "white-space" is supportedPASS
Property "white-space-collapse" is supportedPASS
Property "word-spacing" is supportedPASS
Property "writing-mode" is supportedFAILassert_true: expected true got false

/svg/styling/required-properties.svg

<?xml version="1.0" encoding="UTF-8"?>
<svg xmlns="http://www.w3.org/2000/svg"
     xmlns:h="http://www.w3.org/1999/xhtml">
  <metadata>
    <h:link rel="help" href="https://w3c.github.io/svgwg/svg2-draft/styling.html#RequiredProperties"/>
    <h:link rel="help" href="https://w3c.github.io/svgwg/svg2-draft/propidx.html"/>
    <h:meta name="assert" content="All required properties are supported"/>
    <!-- Note: This test does not verify that the properties are actually applied to SVG rendering. -->
  </metadata>
  <g id="target"></g>
  <h:script src="/resources/testharness.js"/>
  <h:script src="/resources/testharnessreport.js"/>
  <script><![CDATA[
  var properties = [
    // Properties listed in https://w3c.github.io/svgwg/svg2-draft/propidx.html
    "alignment-baseline",
    "baseline-shift",
    "clip",
    "clip-path",
    "clip-rule",
    "color",
    "color-interpolation",
    "cursor",
    "direction",
    "display",
    "dominant-baseline",
    "fill",
    "fill-opacity",
    "fill-rule",
    "filter",
    "flood-color",
    "flood-opacity",
    "font",
    "font-family",
    "font-size",
    "font-size-adjust",
    "font-stretch",
    "font-style",
    "font-variant",
    "font-weight",
    "glyph-orientation-vertical",
    "image-rendering",
    "letter-spacing",
    "lighting-color",
    "line-height",
    "marker",
    "marker-end",
    "marker-mid",
    "marker-start",
    "mask",
    "opacity",
    "overflow",
    "paint-order",
    "pointer-events",
    "shape-rendering",
    "stop-color",
    "stop-opacity",
    "stroke",
    "stroke-dasharray",
    "stroke-dashoffset",
    "stroke-linecap",
    "stroke-linejoin",
    "stroke-miterlimit",
    "stroke-opacity",
    "stroke-width",
    "text-anchor",
    "text-decoration",
    "text-rendering",
    "unicode-bidi",
    "vector-effect",
    "visibility",
    "word-spacing",
    "white-space",
    "writing-mode",

    // Properties listed in https://w3c.github.io/svgwg/svg2-draft/styling.html#RequiredProperties
    "display",
    "overflow",
    "visibility",
    "cursor",
    "text-overflow",
    "clip",
    "clip-path",
    "clip-rule",
    "mask",
    "color",
    "opacity",
    "color-interpolation-filters",
    "filter",
    "flood-color",
    "flood-opacity",
    "isolation",
    "lighting-color",
    "transform",
    "transform-box",
    "transform-origin",
    "letter-spacing",
    "text-align",
    "text-align-all",
    "text-align-last",
    "text-indent",
    "word-spacing",
    "white-space",
    "white-space-collapse",
    "vertical-align",
    "dominant-baseline",
    "alignment-baseline",
    "baseline-shift",
    "direction",
    "text-orientation",
    "writing-mode",
    "font",
    "font-family",
    "font-feature-settings",
    "font-kerning",
    "font-size",
    "font-size-adjust",
    "font-stretch",
    "font-style",
    "font-variant",
    "font-variant-position",
    "font-variant-ligatures",
    "font-variant-caps",
    "font-variant-numeric",
    "font-variant-east-asian",
    "font-weight",
    "text-decoration",
    "text-decoration-line",
    "text-decoration-style",
    "text-decoration-color"
  ];
  properties.sort();

  var target = document.getElementById('target');
  var previous = null;
  for (var property of properties) {
    if (property === previous)
      continue; // Avoid duplicate test names
    previous = property;

    test(function() {
      assert_true(property in target.style);
    }, 'Property "' + property + '" is supported');
  }
  ]]></script>
</svg>