summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/svg/pservers/reftests/pattern-inheritance-not-in-rendertree-02.tentative.svg
blob: 961d069e0864d8379c44d81aea19aebfb6eca66a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
<svg xmlns="http://www.w3.org/2000/svg"
     xmlns:xlink="http://www.w3.org/1999/xlink"
     xmlns:h="http:/www.w3.org/1999/xhtml">
  <title>&#x3c;pattern&#x3e; (with content) inheriting from a &#x3c;pattern&#x3e; in an invalid context</title>
  <h:link rel="match" href="reference/green-100x100.svg"/>
  <pattern id="pattern1" xlink:href="#pattern0" width="1" height="1">
    <rect width="100" height="100" fill="green"/>
  </pattern>
  <rect width="100" height="100" fill="url(#pattern1) yellow"/>
  <text>
    <pattern id="pattern0">
      <rect width="100" height="100" fill="orange"/>
    </pattern>
  </text>
</svg>