wpt / svg / pservers / reftests / fill-fallback-currentcolor-1.svg

Status: PASS | Duration: 5ms | Subtests: 1/1 | Open test on wpt.live | wpt.fyi

/svg/pservers/reftests/fill-fallback-currentcolor-1.svg

<svg xmlns="http://www.w3.org/2000/svg" xmlns:html="http://www.w3.org/1999/xhtml">
  <html:link rel="match" href="reference/green-100x100.svg"/>
  <html:meta name="fuzzy" content="maxDifference=0-1; totalPixels=0-5000"/>
  <linearGradient id="lg">
    <stop stop-color="#008000"/>
  </linearGradient>
  <!-- Test that 'fill' on the 'rect' uses the gradient 'lg'. -->
  <g color="#ff0000" fill="#ff0000">
    <rect width="100" height="100" fill="url(#lg) currentColor"/>
  </g>
</svg>