|
1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> |
|
2 <html xmlns="http://www.w3.org/1999/xhtml" class="reftest-wait"> |
|
3 <head> |
|
4 <script type="text/javascript"> |
|
5 /* <![CDATA[ */ |
|
6 function boom() |
|
7 { |
|
8 var numTest = 17; |
|
9 for (i = 1; i<= numTest; i++) { |
|
10 var target = "target" + i; |
|
11 var q = document.getElementById(target); |
|
12 remove(q); |
|
13 } |
|
14 document.documentElement.className = ""; |
|
15 |
|
16 } |
|
17 |
|
18 function remove(n) |
|
19 { |
|
20 n.parentNode.removeChild(n); |
|
21 } |
|
22 /* ]]> */ |
|
23 </script> |
|
24 <title> test for pseudo removal</title> |
|
25 </head> |
|
26 |
|
27 <body onload="boom();"> |
|
28 <div style="display:table; border-spacing:10px; background-color:red"> |
|
29 <div id="target1">target</div> |
|
30 </div> |
|
31 |
|
32 <div style="display:table; border-spacing:10px; background-color:blue"> |
|
33 <div id="target2" style="float:left">target</div> |
|
34 </div> |
|
35 |
|
36 <div style="display:table; border-spacing:10px; background-color:green"> |
|
37 <div id="target3" style="float:right">target</div> |
|
38 </div> |
|
39 |
|
40 <div style="display:table; border-spacing:10px; background-color:pink"> |
|
41 <div id="target4" style="position:absolute">target</div> |
|
42 </div> |
|
43 |
|
44 <div style="display:table; border-spacing:10px; background-color:magenta"> |
|
45 <div id="target5" style="position:relative">target</div> |
|
46 </div> |
|
47 |
|
48 <div style="display:table; border-spacing:10px; background-color:orange"> |
|
49 <div id="target6" style="position:fixed">target</div> |
|
50 </div> |
|
51 |
|
52 <div style="display:table; border-spacing:10px; background-color:yellow"> |
|
53 <div style="display:table-row;"> |
|
54 <div id="target7" style="display:table">target</div> |
|
55 </div> |
|
56 </div> |
|
57 |
|
58 <div style="display:table; border-spacing:10px; background-color:silver"> |
|
59 <div style="display:table-row;"> |
|
60 <div id="target8" style="display:table-caption">target</div> |
|
61 </div> |
|
62 </div> |
|
63 |
|
64 <div style="display:table; border-spacing:10px; background-color:navy"> |
|
65 <div id="target9" style="display:-moz-column">target</div> |
|
66 </div> |
|
67 |
|
68 <div style="display:table; border-spacing:10px; background-color:teal"> |
|
69 <div id="target10" style="display:-moz-popup">target</div> |
|
70 </div> |
|
71 |
|
72 <div style="display:table; border-spacing:10px; background-color:Maroon"> |
|
73 <math xmlns="http://www.w3.org/1998/Math/MathML" id="target11"> |
|
74 <msup> |
|
75 <mfenced> |
|
76 <mrow> |
|
77 <mi>a</mi> |
|
78 <mo>+</mo> |
|
79 <mi>b</mi> |
|
80 </mrow> |
|
81 </mfenced> |
|
82 <mn>2</mn> |
|
83 </msup> |
|
84 </math> |
|
85 </div> |
|
86 |
|
87 <div style="display:table; border-spacing:10px; background-color:SkyBlue "> |
|
88 <svg xmlns="http://www.w3.org/2000/svg" width="300" height="200" id="target12"> |
|
89 <circle cx="150" cy="100" r="50" /> |
|
90 </svg> |
|
91 </div> |
|
92 |
|
93 |
|
94 <div style="display:table; border-spacing:10px; background-color:Peru"> |
|
95 <div style="display:table-row;"> |
|
96 <div id="target13" style="display:table-row-group; overflow:scroll">target</div> |
|
97 </div> |
|
98 </div> |
|
99 |
|
100 <div style="display:table; border-spacing:10px; background-color:Tomato"> |
|
101 <div style="display:table-row;"> |
|
102 <input type="button" value="OK" id="target14"></input> |
|
103 </div> |
|
104 </div> |
|
105 |
|
106 <div style="display:table; border-spacing:10px; background-color:DarkSeaGreen "> |
|
107 <div style="display:table-row;"> |
|
108 <div id="target15" style="display:table-column;"/> |
|
109 </div> |
|
110 </div> |
|
111 |
|
112 <div style="display:table; border-spacing:10px; background-color:MistyRose"> |
|
113 <div style="display:table-row;"> |
|
114 <div id="target16" style="display:table-column-group;"/> |
|
115 </div> |
|
116 </div> |
|
117 |
|
118 <div style="display:table; border-spacing:10px; background-color:Indigo"> |
|
119 <div id="target17" style="display:-moz-box">target</div> |
|
120 </div> |
|
121 </body> |
|
122 </html> |