summaryrefslogtreecommitdiff
path: root/dom/base/test/test_bug357450_svg.xhtml
blob: 87d25bd832cbe8d08d20788cbce210af6d9e344c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
<html xmlns="http://www.w3.org/1999/xhtml">

<!--
https://bugzilla.mozilla.org/show_bug.cgi?id=357450
-->

<head>
  <title>Test for Bug 357450</title>
  <script type="text/javascript"
          src="/tests/SimpleTest/SimpleTest.js"></script>
  <script type="text/javascript" src="file_bug357450.js"></script>
  <link rel="stylesheet" type="text/css" href="/tests/SimpleTest/test.css" />

</head>

<body>

<a href="https://bugzilla.mozilla.org/show_bug.cgi?id=357450"
   target="_blank">Mozilla Bug 357450</a>

<p id="display"></p>
<span class="classtest">hmm</span>
<span class="classtest">hmm</span>
<div id="content" style="display: block">
  <a name="nametest">hmm</a>
  <b class="foo">hmm</b>
  <b id="test1" class="test1">hmm</b>
  <b id="test2" class="test2">hmm</b>
  <b id="int-class" class="1">hmm</b>
  <svg xmlns="http://www.w3.org/2000/svg" 
       height="100" width="100" style="float:left">
    <path d="M38,38c0-12,24-15,23-2c0,9-16,13-16,23v7h11v-4c0-9,17-12,17-27c-2-22-45-22-45,3zM45,70h11v11h-11z" fill="#371"/>
    
    <circle cx="50" cy="50" r="45" class="classtest" 
	    fill="none" stroke="#371" stroke-width="10"/>
  </svg>

  <div id="example">
   <p id="p1" class="aaa bbb"/>
   <p id="p2" class="aaa ccc"/>
   <p id="p3" class="bbb ccc"/>
  </div>

</div>

</body>
</html>