summaryrefslogtreecommitdiffstats
path: root/layout/svg/tests/file_context_fill_fallback_red.html
blob: ac8b5b420383ddb023fc680289ac1514614a3232 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
<!DOCTYPE html>
<!--
  Any copyright is dedicated to the Public Domain.
  http://creativecommons.org/publicdomain/zero/1.0/
-->
<style>
  img {
    -moz-context-properties: fill;
    fill: green;
  }
</style>
<img style="width: 100px; height: 100px;">
<script>
  let domain = location.search.substring(1);
  let img = document.querySelector("img");
  img.src = img.alt = `http://${domain}/tests/layout/svg/tests/file_context_fill_fallback_red.svg`;
</script>