layout/tables/crashtests/267418.html

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/layout/tables/crashtests/267418.html	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,122 @@
     1.4 +<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN"
     1.5 +	"http://www.w3.org/TR/html4/strict.dtd">
     1.6 +<html lang="en-US" class="reftest-wait">
     1.7 +<head>
     1.8 +	<title>Testcase, bug 174470</title>
     1.9 +	<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    1.10 +	<meta http-equiv="Content-Style-Type" content="text/css">
    1.11 +	<style type="text/css">
    1.12 +
    1.13 +	table {
    1.14 +		border-collapse: collapse;
    1.15 +		margin: 1em;
    1.16 +		border: thick solid;
    1.17 +		border-color: #f0f #c0c #909 #606; /* purple */
    1.18 +	}
    1.19 +
    1.20 +	colgroup:first-child + colgroup {
    1.21 +		border: thick solid;
    1.22 +		border-color: #f66 #f00 #a00 #600; /* red */
    1.23 +	}
    1.24 +
    1.25 +	colgroup:first-child + colgroup + colgroup > col:first-child + col {
    1.26 +		border: thick solid;
    1.27 +		border-color: #ff0 #cc0 #990 #660; /* yellow */
    1.28 +	}
    1.29 +
    1.30 +	colgroup + tbody + tbody {
    1.31 +		border: thick solid;
    1.32 +		border-color: #6f6 #0f0 #0a0 #060; /* green */
    1.33 +	}
    1.34 +
    1.35 +	colgroup + tbody > tr:first-child + tr {
    1.36 +		border: thick solid;
    1.37 +		border-color: #0ff #0cc #099 #066; /* aqua */
    1.38 +	}
    1.39 +
    1.40 +	colgroup + tbody + tbody + tbody > tr:first-child + tr > td:first-child + td {
    1.41 +		border: thick solid;
    1.42 +		border-color: #66f #00f #00a #006; /* blue */
    1.43 +	}
    1.44 +
    1.45 +	</style>
    1.46 +    <script>
    1.47 +   function doTest() {
    1.48 +      var s1 = document.getElementById("screen");
    1.49 +      s1.parentNode.removeChild(s1); 
    1.50 +      document.documentElement.removeAttribute('class');
    1.51 +   }
    1.52 +   document.addEventListener("MozReftestInvalidate", doTest, false);
    1.53 +    </script>
    1.54 +</head>
    1.55 +<body>
    1.56 +
    1.57 +<div id="screen" style="position: fixed; left:50px; height:200px; width: 200px; background-color:white; border:1px solid green;"></div>
    1.58 +
    1.59 +<p>The following two tables should be mirrors of each other, except that
    1.60 +(1) the digits should still be normal left-to-right digits and (2) the
    1.61 +color changes for each of the 6 colors should, in both, be lightest on top
    1.62 +clockwise to darkest on the left.</p>
    1.63 +
    1.64 +<table dir="ltr" >
    1.65 +	<colgroup>
    1.66 +		<col>
    1.67 +	</colgroup>
    1.68 +	<colgroup>
    1.69 +		<col>
    1.70 +		<col>
    1.71 +	</colgroup>
    1.72 +	<colgroup>
    1.73 +		<col>
    1.74 +		<col>
    1.75 +		<col>
    1.76 +	</colgroup>
    1.77 +	<tbody>
    1.78 +		<tr><td>1</td><td>22</td><td>333</td><td>4444</td><td>55555</td><td>666666</td></tr>
    1.79 +		<tr><td>1</td><td>22</td><td>333</td><td>4444</td><td>55555</td><td>666666</td></tr>
    1.80 +		<tr><td>1</td><td>22</td><td>333</td><td>4444</td><td>55555</td><td>666666</td></tr>
    1.81 +	</tbody>
    1.82 +	<tbody>
    1.83 +		<tr><td>1</td><td>22</td><td>333</td><td>4444</td><td>55555</td><td>666666</td></tr>
    1.84 +		<tr><td>1</td><td>22</td><td>333</td><td>4444</td><td>55555</td><td>666666</td></tr>
    1.85 +		<tr><td>1</td><td>22</td><td>333</td><td>4444</td><td>55555</td><td>666666</td></tr>
    1.86 +	</tbody>
    1.87 +	<tbody>
    1.88 +		<tr><td>1</td><td>22</td><td>333</td><td>4444</td><td>55555</td><td>666666</td></tr>
    1.89 +		<tr><td>1</td><td>22</td><td>333</td><td>4444</td><td>55555</td><td>666666</td></tr>
    1.90 +		<tr><td>1</td><td>22</td><td>333</td><td>4444</td><td>55555</td><td>666666</td></tr>
    1.91 +	</tbody>
    1.92 +</table>
    1.93 +
    1.94 +<table dir="rtl">
    1.95 +	<colgroup>
    1.96 +		<col>
    1.97 +	</colgroup>
    1.98 +	<colgroup>
    1.99 +		<col>
   1.100 +		<col>
   1.101 +	</colgroup>
   1.102 +	<colgroup>
   1.103 +		<col>
   1.104 +		<col>
   1.105 +		<col>
   1.106 +	</colgroup>
   1.107 +	<tbody>
   1.108 +		<tr><td>1</td><td>22</td><td>333</td><td>4444</td><td>55555</td><td>666666</td></tr>
   1.109 +		<tr><td>1</td><td>22</td><td>333</td><td>4444</td><td>55555</td><td>666666</td></tr>
   1.110 +		<tr><td>1</td><td>22</td><td>333</td><td>4444</td><td>55555</td><td>666666</td></tr>
   1.111 +	</tbody>
   1.112 +	<tbody>
   1.113 +		<tr><td>1</td><td>22</td><td>333</td><td>4444</td><td>55555</td><td>666666</td></tr>
   1.114 +		<tr><td>1</td><td>22</td><td>333</td><td>4444</td><td>55555</td><td>666666</td></tr>
   1.115 +		<tr><td>1</td><td>22</td><td>333</td><td>4444</td><td>55555</td><td>666666</td></tr>
   1.116 +	</tbody>
   1.117 +	<tbody>
   1.118 +		<tr><td>1</td><td>22</td><td>333</td><td>4444</td><td>55555</td><td>666666</td></tr>
   1.119 +		<tr><td>1</td><td>22</td><td>333</td><td>4444</td><td>55555</td><td>666666</td></tr>
   1.120 +		<tr><td>1</td><td>22</td><td>333</td><td>4444</td><td>55555</td><td>666666</td></tr>
   1.121 +	</tbody>
   1.122 +</table>
   1.123 +
   1.124 +</body>
   1.125 +</html>

mercurial