no bug - Import translations from android-l10n r=release a=l10n CLOSED TREE
[gecko.git] / layout / reftests / svg / text-style-01c.svg
blobaeff296fb38db41466a552ac97ea3a747b7a445d
1 <!--
2 Any copyright is dedicated to the Public Domain.
3 http://creativecommons.org/publicdomain/zero/1.0/
4 -->
5 <svg xmlns="http://www.w3.org/2000/svg" onload="m();">
7 <title>Testcase for style changes</title>
9 <!-- From https://bugzilla.mozilla.org/show_bug.cgi?id=395155 -->
11 <style id="s" type="text/css">
12 tspan { fill: red; }
13 </style>
15 <script>
16 function m()
18 var s = document.getElementById("s");
19 s.firstChild.data = s.firstChild.data.replace("red", "green");
21 </script>
23 <text>
24 <tspan x="10" y="50">
25 This should be green
26 </tspan>
27 </text>
29 </svg>