summaryrefslogtreecommitdiffstats
path: root/layout/svg/tests/file_context_fill_fallback_red.html
diff options
context:
space:
mode:
Diffstat (limited to 'layout/svg/tests/file_context_fill_fallback_red.html')
-rw-r--r--layout/svg/tests/file_context_fill_fallback_red.html17
1 files changed, 17 insertions, 0 deletions
diff --git a/layout/svg/tests/file_context_fill_fallback_red.html b/layout/svg/tests/file_context_fill_fallback_red.html
new file mode 100644
index 0000000000..ac8b5b4203
--- /dev/null
+++ b/layout/svg/tests/file_context_fill_fallback_red.html
@@ -0,0 +1,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>