wpt / svg / struct / reftests / use-symbol-inline-css-003.svg

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

/svg/struct/reftests/use-symbol-inline-css-003.svg

<svg width="500" height="500" xmlns="http://www.w3.org/2000/svg" xmlns:html="http://www.w3.org/1999/xhtml">
  <title>CSS width and height properties are ignored on symbol element</title>
  <metadata>
    <html:link rel="author" title="Divyansh Mangal" href="mailto:dmangal@microsoft.com"/>
    <html:link rel="help" href="https://svgwg.org/svg2-draft/struct.html#SymbolElement"/>
    <html:link rel="help" href="https://svgwg.org/svg2-draft/struct.html#UseElement"/>
    <html:link rel="help" href="https://github.com/w3c/svgwg/pull/1059"/>
    <html:link rel="match" href="reference/green-100x100.svg"/>
  </metadata>
  <defs>
    <symbol id="sym" width="100" height="100" style="width:200px; height:200px">
      <rect width="400" height="400" fill="green"/>
    </symbol>
  </defs>
  <use href="#sym"/>
</svg>