1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/layout/reftests/table-background/border-separate-table-column-ref.html Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,89 @@ 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 + /* 1.17 + table { 1.18 + margin: 0px 3px 2px 4px; 1.19 + border-width: 4px 2px 7px 3px; 1.20 + 1.21 + border-box height is 145px: 1.22 + border-top: 4px; 1.23 + padding-top: 3px 1.24 + border-spacing: 3px * 6 == 18px 1.25 + cell * 5: == 21px * 5 == 105px 1.26 + border-top: 2px; 1.27 + padding-top: 1px; 1.28 + height: 10px; 1.29 + padding-bottom: 4px; 1.30 + border-bottom: 4px; 1.31 + padding-bottom: 8px; 1.32 + border-bottom: 7px; 1.33 + 1.34 + border-box width is 325px: 1.35 + border-left: 3px; 1.36 + padding-left: 6px 1.37 + border-spacing: 2px * 6 == 12px 1.38 + cell * 5: == 59px * 5 == 295px 1.39 + border-left: 3px; 1.40 + padding-left: 3px; 1.41 + width: 50px; 1.42 + padding-right: 2px; 1.43 + border-right: 1px; 1.44 + padding-right: 7px; 1.45 + border-right: 2px; 1.46 + */ 1.47 + 1.48 + div.color, div.imagetl, div.imagebr { 1.49 + width: 59px; height: 117px; margin: 10px 136px 30px 137px; 1.50 + } 1.51 + div.color { background-color: aqua; } 1.52 + 1.53 + div.imagetl, div.imagebr { 1.54 + background-image: url(repeatable-diagonal-gradient-with-ticks.png); 1.55 + } 1.56 + 1.57 + div.imagetl { background-position: 0 0; } 1.58 + div.imagebr { background-position: 59px 117px; } 1.59 + 1.60 + div.vstripe, div.hstripe { background: white; position: absolute; } 1.61 + div.vstripe { top: 0; width: 2px; height: 500px; } 1.62 + div.hstripe { left: 0; height: 3px; width: 400px; } 1.63 + 1.64 + </style> 1.65 +</head> 1.66 +<body> 1.67 + 1.68 +<div class="color"></div> 1.69 +<div class="imagetl"></div> 1.70 +<div class="imagebr"></div> 1.71 + 1.72 +<div class="hstripe" style="top: 46px"></div> 1.73 +<div class="hstripe" style="top: 70px"></div> 1.74 +<div class="hstripe" style="top: 94px"></div> 1.75 +<div class="hstripe" style="top: 118px"></div> 1.76 +<div class="hstripe" style="top: 193px"></div> 1.77 +<div class="hstripe" style="top: 217px"></div> 1.78 +<div class="hstripe" style="top: 241px"></div> 1.79 +<div class="hstripe" style="top: 265px"></div> 1.80 +<div class="hstripe" style="top: 340px"></div> 1.81 +<div class="hstripe" style="top: 364px"></div> 1.82 +<div class="hstripe" style="top: 388px"></div> 1.83 +<div class="hstripe" style="top: 412px"></div> 1.84 + 1.85 +<div class="vstripe" style="left: 89px"></div> 1.86 +<div class="vstripe" style="left: 150px"></div> 1.87 +<div class="vstripe" style="left: 211px"></div> 1.88 +<div class="vstripe" style="left: 272px"></div> 1.89 +<div class="vstripe" style="left: 333px"></div> 1.90 + 1.91 +</body> 1.92 +</html>