Backed out changeset 57d71ba078d7 (bug 1932390) for causing wpt failures @ failures_A...
[gecko.git] / layout / reftests / svg / symbol-01.svg
blob905a697e7acdee893dc4a2feecd570b33cbc689f
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" xmlns:xlink='http://www.w3.org/1999/xlink'>
6 <style type="text/css"><![CDATA[
7 #s {
8 display: inline;
10 ]]></style>
11 <!--
12 A basic test that referencing a <symbol> with a <use> works.
13 Note that the fill specified on the <use> inherits into the
14 <use> shadow tree.
15 Also <symbol> itself should have |display:none !important|.
16 -->
17 <symbol id='s' viewBox='100 100 10 10'>
18 <circle cx='105' cy='105' r='4'/>
19 </symbol>
20 <use xlink:href='#s' x='0' y='0' width='100' height='100' fill='green'/>
21 </svg>