summaryrefslogtreecommitdiff
path: root/dom/base/test/w3element_traversal.svg
blob: 22540b4648d09762d38b4c40896e0620c91246d7 (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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN"  "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"
[
<!ENTITY tree "<tspan id='first_element_child_entity'></tspan>">
]>

<svg xmlns="http://www.w3.org/2000/svg"
     xmlns:xlink="http://www.w3.org/1999/xlink"
     xmlns:pickle="http://ns.example.org/pickle"
     version="1.1"
     width="100%" height="100%" viewBox="0 0 400 400">
      
  <text >
    <tspan id="first_element_child_namespace"></tspan>
  </text>
  <g id="parentEl_namespace">
    <pickle:dill />
  </g>

  <text id="parentEl_pes" >
    <tspan id="first_element_child_pes"></tspan>
    <tspan id="middle_element_child_pes"></tspan>  
    <tspan id="last_element_child_pes"></tspan>
  </text>


  <text id="parentEl" >
    <tspan id="first_element_child_sibnull"></tspan>
  </text>

  <text id="parentEl_nes" >
    <tspan id="first_element_child_nes"></tspan>
    <tspan id="last_element_child_nes"></tspan>
  </text>

  <text id="parentEl_lec" >
    <tspan id="first_element_child_lec"></tspan>
    <tspan id="last_element_child_lec"></tspan>
  </text>


  <text id="parentEl_fec" >
    <tspan id="first_element_child_fec"></tspan>
  </text>
  
  <text id="parentEl_entity" >&tree;</text>

  <text id="parentEl_dynremove" >
    <tspan id="first_element_child_dynremove"></tspan>
    <tspan id="last_element_child_dynremove"></tspan>
  </text>

  <text id="parentEl_dynadd" > 
    <tspan id="first_element_child_dynadd"></tspan>
  </text>

  <text id="parentEl_null" ></text>

  <text id="parentEl_count" >
    <tspan id="first_element_child_count">
      <tspan></tspan>
      <tspan></tspan>
    </tspan>
  <tspan id="middle_element_child"></tspan>    
  <tspan id="last_element_child_count"></tspan>
  </text>

  <text id="parentEl_nochild"></text>

</svg>