no bug - Import translations from android-l10n r=release a=l10n CLOSED TREE
[gecko.git] / layout / reftests / svg / dynamic-fill-rule-01.svg
blob9fb12f4ae0fa7788f0a72903e562666166ad8e2c
1 <!--
2 Any copyright is dedicated to the Public Domain.
3 http://creativecommons.org/publicdomain/zero/1.0/
4 -->
5 <svg version="1.1" xmlns="http://www.w3.org/2000/svg" class="reftest-wait">
6 <title>Testcase for dynamic changes to fill-rule</title>
7 <!-- From https://bugzilla.mozilla.org/show_bug.cgi?id=932762 -->
8 <script>
10 function doTest() {
11 document.getElementById("p1").removeAttribute("style");
12 document.getElementById("p2").setAttribute("style", "fill-rule: evenodd;");
13 document.documentElement.removeAttribute("class");
16 window.addEventListener("MozReftestInvalidate", doTest, false);
17 window.setTimeout(doTest, 4000); // fallback for running outside reftest
19 </script>
20 <path id="p1" style="fill-rule: evenodd;"
21 d="M100,50 l0,150 50,0 0,-100 -100,0 0,50 150,0 0,-50 -50,0 0,-50 z"/>
22 <path id="p2"
23 d="M300,50 l0,150 50,0 0,-100 -100,0 0,50 150,0 0,-50 -50,0 0,-50 z"/>
24 </svg>