Bug 777574 - Skip quickCheckAPI-B2.html on Linux. r=bjacob, a=test-only
[gecko.git] / layout / reftests / svg / dynamic-use-05.svg
blob056c89c062ab783a21cbc2c890c0b806bc3f5edb
1 <?xml version="1.0" encoding="Windows-1252"?>
2 <!--
3 Any copyright is dedicated to the Public Domain.
4 http://creativecommons.org/publicdomain/zero/1.0/
5 -->
6 <svg xmlns="http://www.w3.org/2000/svg"
7 xmlns:xlink="http://www.w3.org/1999/xlink"
8 style="background: red;" class="reftest-wait">
9 <defs>
10 <symbol id="sym1">
11 <rect width="100" height="100" fill="lime" />
12 </symbol>
13 </defs>
14 <rect width="100%" height="100%" fill="lime"/>
15 <rect width="100" height="100" fill="red" />
16 <use id="u" xlink:href="#sym1" width="1" />
17 <script type="text/javascript">
18 <![CDATA[
20 document.addEventListener("MozReftestInvalidate", doTest, false);
21 setTimeout(doTest, 4000); // fallback for running outside reftest
23 function doTest() {
24 var u = document.getElementById("u");
25 u.setAttribute("width", "100");
26 document.documentElement.removeAttribute('class');
29 ]]>
30 </script>
31 </svg>