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

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/layout/reftests/table-background/border-separate-opacity-table-cell-ref.html	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,68 @@
     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">
     1.7 +<head>
     1.8 +	<title>Table background tests</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 +	html, body { margin: 0; padding: 0; border: 0; font-size: 16px; }
    1.14 +	body { padding: 15px; }
    1.15 +
    1.16 +	.o { opacity: 0.5; }
    1.17 +
    1.18 +	/*
    1.19 +	table { 
    1.20 +		margin: 0px 3px 2px 4px;
    1.21 +		border-width: 4px 2px 7px 3px;
    1.22 +
    1.23 +		border-box height is 145px:
    1.24 +		  border-top: 4px;
    1.25 +		  padding-top: 3px
    1.26 +		  border-spacing: 3px * 6 == 18px
    1.27 +		  cell * 5: == 21px * 5 == 105px
    1.28 +		    border-top: 2px;
    1.29 +		    padding-top: 1px;
    1.30 +		    height: 10px;
    1.31 +		    padding-bottom: 4px;
    1.32 +		    border-bottom: 4px;
    1.33 +		  padding-bottom: 8px;
    1.34 +		  border-bottom: 7px;
    1.35 +
    1.36 +		border-box width is 325px:
    1.37 +		  border-left: 3px;
    1.38 +		  padding-left: 6px
    1.39 +		  border-spacing: 2px * 6 == 12px
    1.40 +		  cell * 5: == 59px * 5 == 295px
    1.41 +		    border-left: 3px;
    1.42 +		    padding-left: 3px;
    1.43 +		    width: 50px;
    1.44 +		    padding-right: 2px;
    1.45 +		    border-right: 1px;
    1.46 +		  padding-right: 7px;
    1.47 +		  border-right: 2px;
    1.48 +    */
    1.49 +
    1.50 +	div.color, div.imagetl, div.imagebr {
    1.51 +        width: 59px; height: 21px; margin: 58px 136px 126px 137px;
    1.52 +	}
    1.53 +	div.color { background-color: aqua; }
    1.54 +
    1.55 +	div.imagetl, div.imagebr {
    1.56 +		background-image: url(repeatable-diagonal-gradient-with-ticks.png);
    1.57 +	}
    1.58 +
    1.59 +	div.imagetl { background-position: 3px 2px; }
    1.60 +	div.imagebr { background-position: 58px 17px; }
    1.61 +
    1.62 +	</style>
    1.63 +</head>
    1.64 +<body>
    1.65 +
    1.66 +<div class="color"></div>
    1.67 +<div class="imagetl o"></div>
    1.68 +<div class="imagebr o"></div>
    1.69 +
    1.70 +</body>
    1.71 +</html>

mercurial