layout/reftests/table-background/border-separate-table-cell-ref.html

Thu, 15 Jan 2015 15:55:04 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Thu, 15 Jan 2015 15:55:04 +0100
branch
TOR_BUG_9701
changeset 9
a63d609f5ebe
permissions
-rw-r--r--

Back out 97036ab72558 which inappropriately compared turds to third parties.

     1 <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN"
     2 	"http://www.w3.org/TR/html4/strict.dtd">
     3 <html lang="en-US">
     4 <head>
     5 	<title>Table background tests</title>
     6 	<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
     7 	<meta http-equiv="Content-Style-Type" content="text/css">
     8 	<style type="text/css">
    10 	html, body { margin: 0; padding: 0; border: 0; font-size: 16px; }
    11 	body { padding: 15px; }
    13 	/*
    14 	table { 
    15 		margin: 0px 3px 2px 4px;
    16 		border-width: 4px 2px 7px 3px;
    18 		border-box height is 145px:
    19 		  border-top: 4px;
    20 		  padding-top: 3px
    21 		  border-spacing: 3px * 6 == 18px
    22 		  cell * 5: == 21px * 5 == 105px
    23 		    border-top: 2px;
    24 		    padding-top: 1px;
    25 		    height: 10px;
    26 		    padding-bottom: 4px;
    27 		    border-bottom: 4px;
    28 		  padding-bottom: 8px;
    29 		  border-bottom: 7px;
    31 		border-box width is 325px:
    32 		  border-left: 3px;
    33 		  padding-left: 6px
    34 		  border-spacing: 2px * 6 == 12px
    35 		  cell * 5: == 59px * 5 == 295px
    36 		    border-left: 3px;
    37 		    padding-left: 3px;
    38 		    width: 50px;
    39 		    padding-right: 2px;
    40 		    border-right: 1px;
    41 		  padding-right: 7px;
    42 		  border-right: 2px;
    43     */
    45 	div.color, div.imagetl, div.imagebr {
    46         width: 59px; height: 21px; margin: 58px 136px 126px 137px;
    47 	}
    48 	div.color { background-color: aqua; }
    50 	div.imagetl, div.imagebr {
    51 		background-image: url(repeatable-diagonal-gradient-with-ticks.png);
    52 	}
    54 	div.imagetl { background-position: 3px 2px; }
    55 	div.imagebr { background-position: 58px 17px; }
    57 	</style>
    58 </head>
    59 <body>
    61 <div class="color"></div>
    62 <div class="imagetl"></div>
    63 <div class="imagebr"></div>
    65 </body>
    66 </html>

mercurial