wpt / svg / path / distance / path-length-css-zero.tentative.svg

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

/svg/path/distance/path-length-css-zero.tentative.svg

<svg xmlns="http://www.w3.org/2000/svg"
     xmlns:html="http://www.w3.org/1999/xhtml">
  <title>CSS path-length property set to zero</title>
  <metadata>
    <html:link rel="author" title="Virali Purbey" href="mailto:viralipurbey@microsoft.com"/>
    <html:link rel="help" href="https://w3c.github.io/svgwg/svg2-draft/paths.html#PathLengthAttribute"/>
    <html:link rel="match" href="path-length-css-zero-ref.tentative.svg"/>
  </metadata>
  <style>
    path { path-length: 0; }
  </style>
  <!-- path-length:0 makes the dash scale infinite, so the stroke is solid. -->
  <path d="M10,10 L110,10 L110,110 L10,110Z" stroke-dasharray="1 1"
        fill="none" stroke="black" stroke-width="10"/>
</svg>