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