wpt / svg / path / bearing / relative.svg

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

/svg/path/bearing/relative.svg

<svg xmlns="http://www.w3.org/2000/svg" width="200" height="200">
  <metadata>
    <link xmlns="http://www.w3.org/1999/xhtml" rel="help" href="https://www.w3.org/TR/svg-paths/#PathDataBearingCommands"/>
    <link xmlns="http://www.w3.org/1999/xhtml" rel="help" href="https://www.w3.org/TR/SVG2/paths.html#PathDataBearingCommands"/>
    <link xmlns="http://www.w3.org/1999/xhtml" rel="help" href="https://w3c.github.io/svgwg/svg2-draft/changes.html#paths"/>
    <link xmlns="http://www.w3.org/1999/xhtml" rel="match" href="absolute-ref.svg"/>
    <meta xmlns="http://www.w3.org/1999/xhtml" name="assert" content="path element with b commands renders correctly."/>
  </metadata>
  <style>
    path {
      stroke-width: 3;
      stroke: blue;
    }
  </style>
  <path d="M 20 150 b -90 h 120 b 90 h 140 b 90 h 120 z" />
</svg>

/svg/path/bearing/absolute-ref.svg

<svg xmlns="http://www.w3.org/2000/svg" width="200" height="200">
  <style>
    path {
      stroke-width: 3;
      stroke: blue;
    }
  </style>
  <path d="M 20 150 v -120 h 140 v 120 z" />
</svg>