Status: FAIL | Duration: 42ms | Subtests: 0/1 | Open test on wpt.live | wpt.fyi
/svg/struct/reftests/use-svg-inline-css.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 use element referencing svg element</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/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> <svg id="svg" width="200" height="200"> <rect width="400" height="400" fill="green"/> </svg> </defs> <!-- CSS width/height should be ignored; use's width/height attributes are used --> <use href="#svg" width="100" height="100" style="width:200px; height:200px"/> </svg>