summaryrefslogtreecommitdiffstats
path: root/layout/reftests/svg/as-image/context-fill-02.html
blob: e476d1e04ad0bf51b32232a54a488fa94703c8b1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
<!DOCTYPE html>
<html>
  <head>
    <title>Basic context-fill test (without a fallback color)</title>
    <style>

img {
  width: 100px;
  height: 100px;
  -moz-context-properties: fill;
  fill: lime;
  border: 1px solid black;
}

    </style>
  </head>
  <body>
    <img src="data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg'><rect width='100%' height='100%' fill='context-fill none'/></svg>">
  </body>
</html>