layout/reftests/table-anonymous-boxes/162063-1.xhtml

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/layout/reftests/table-anonymous-boxes/162063-1.xhtml	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,122 @@
     1.4 +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
     1.5 +<html xmlns="http://www.w3.org/1999/xhtml" class="reftest-wait">
     1.6 +<head>
     1.7 +<script type="text/javascript">
     1.8 +/* <![CDATA[ */
     1.9 +function boom()
    1.10 +{
    1.11 +  var numTest = 17;
    1.12 +  for (i = 1; i<= numTest; i++) {
    1.13 +    var target = "target" + i; 
    1.14 +    var q = document.getElementById(target);
    1.15 +    remove(q);
    1.16 +  }
    1.17 +   document.documentElement.className = "";
    1.18 +
    1.19 +}
    1.20 +
    1.21 +function remove(n)
    1.22 +{
    1.23 +  n.parentNode.removeChild(n);
    1.24 +}
    1.25 +/* ]]> */
    1.26 +</script>
    1.27 +<title> test for pseudo removal</title>
    1.28 +</head>
    1.29 +
    1.30 +<body onload="boom();">
    1.31 + <div style="display:table; border-spacing:10px; background-color:red">
    1.32 + <div id="target1">target</div>
    1.33 + </div>
    1.34 + 
    1.35 + <div style="display:table; border-spacing:10px; background-color:blue">
    1.36 + <div id="target2" style="float:left">target</div>
    1.37 + </div>
    1.38 + 
    1.39 + <div style="display:table; border-spacing:10px; background-color:green">
    1.40 + <div id="target3" style="float:right">target</div>
    1.41 + </div>
    1.42 + 
    1.43 + <div style="display:table; border-spacing:10px; background-color:pink">
    1.44 + <div id="target4" style="position:absolute">target</div>
    1.45 + </div>
    1.46 +
    1.47 + <div style="display:table; border-spacing:10px; background-color:magenta">
    1.48 + <div id="target5" style="position:relative">target</div>
    1.49 + </div> 
    1.50 + 
    1.51 + <div style="display:table; border-spacing:10px; background-color:orange">
    1.52 + <div id="target6" style="position:fixed">target</div>
    1.53 + </div>
    1.54 + 
    1.55 + <div style="display:table; border-spacing:10px; background-color:yellow">
    1.56 + <div style="display:table-row;">
    1.57 + <div id="target7" style="display:table">target</div>
    1.58 + </div> 
    1.59 + </div>
    1.60 + 
    1.61 +  <div style="display:table; border-spacing:10px; background-color:silver">
    1.62 + <div style="display:table-row;">
    1.63 + <div id="target8" style="display:table-caption">target</div>
    1.64 + </div> 
    1.65 + </div>
    1.66 + 
    1.67 + <div style="display:table; border-spacing:10px; background-color:navy">
    1.68 + <div id="target9" style="display:-moz-column">target</div>
    1.69 + </div>
    1.70 + 
    1.71 + <div style="display:table; border-spacing:10px; background-color:teal">
    1.72 + <div id="target10" style="display:-moz-popup">target</div>
    1.73 + </div>
    1.74 + 
    1.75 + <div style="display:table; border-spacing:10px; background-color:Maroon">
    1.76 +     <math xmlns="http://www.w3.org/1998/Math/MathML" id="target11">
    1.77 +        <msup>
    1.78 +          <mfenced>
    1.79 +            <mrow>
    1.80 +              <mi>a</mi>
    1.81 +              <mo>+</mo>
    1.82 +              <mi>b</mi>
    1.83 +            </mrow>
    1.84 +          </mfenced>
    1.85 +          <mn>2</mn>
    1.86 +        </msup>
    1.87 +    </math>
    1.88 + </div>
    1.89 + 
    1.90 + <div style="display:table; border-spacing:10px; background-color:SkyBlue ">
    1.91 +  <svg xmlns="http://www.w3.org/2000/svg" width="300" height="200" id="target12">
    1.92 +      <circle cx="150" cy="100" r="50" />
    1.93 +    </svg>
    1.94 +</div>
    1.95 +
    1.96 + 
    1.97 + <div style="display:table; border-spacing:10px; background-color:Peru">
    1.98 +  <div style="display:table-row;">
    1.99 +  <div id="target13" style="display:table-row-group; overflow:scroll">target</div>
   1.100 +  </div>
   1.101 +</div>
   1.102 + 
   1.103 + <div style="display:table; border-spacing:10px; background-color:Tomato">
   1.104 +  <div style="display:table-row;">
   1.105 +  <input type="button" value="OK" id="target14"></input>
   1.106 +  </div>
   1.107 +</div>
   1.108 + 
   1.109 + <div style="display:table; border-spacing:10px; background-color:DarkSeaGreen ">
   1.110 +  <div style="display:table-row;">
   1.111 +   <div id="target15" style="display:table-column;"/>
   1.112 +  </div>
   1.113 +</div>
   1.114 +
   1.115 +<div style="display:table; border-spacing:10px; background-color:MistyRose">
   1.116 +  <div style="display:table-row;">
   1.117 +   <div id="target16" style="display:table-column-group;"/>
   1.118 +  </div>
   1.119 +</div>
   1.120 +
   1.121 +<div style="display:table; border-spacing:10px; background-color:Indigo">
   1.122 + <div id="target17" style="display:-moz-box">target</div>
   1.123 + </div>
   1.124 +</body>
   1.125 +</html>

mercurial