summaryrefslogtreecommitdiffstats
path: root/layout/reftests/svg/fallback-color-04.svg
blob: 556718140b09edc1c36d78bac0b52346ffbd25bd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
<!--
     Any copyright is dedicated to the Public Domain.
     http://creativecommons.org/publicdomain/zero/1.0/
-->
<svg xmlns="http://www.w3.org/2000/svg" >

  <title>Testcase for fallback colours</title>

  <defs>
    <filter id="dilate">
      <feMorphology operator="dilate" radius="6"/>
    </filter>
  </defs>

  <rect x="0%" y="0%" width="100%" height="100%" fill="lime"/>
  <text x="10" y="50" font-size="50"
        stroke-width="8" stroke="red" fill="none">
    A B
  </text>
  <text x="10" y="50" font-size="50"
        stroke-width="8" stroke="url(#null) lime" fill="none" filter="url(#dilate)">
    A B
  </text>
  <text x="200" y="50" font-size="50" fill="red">
    A B
  </text>
  <text x="200" y="50" font-size="50" fill="url(#null) lime" filter="url(#dilate)">
    A B
  </text>
  <text x="10" y="200" font-size="50" fill="red"
        stroke-width="1" stroke="red">
    A B
  </text>
  <text x="10" y="200" font-size="50" fill="url(#null) lime"
        stroke-width="1" stroke="url(#null) lime" filter="url(#dilate)">
    A B
  </text>
</svg>