1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/layout/reftests/table-background/border-collapse-table-column-ref.html Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,61 @@ 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 8px 6px; 1.20 + 1.21 + height is 97px: 1.22 + (2px of border outside height) 1.23 + extra border width for top row: 0 1.24 + cell * 5: == 19px * 5 == 95px 1.25 + border-top: 2px; 1.26 + padding-top: 1px; 1.27 + height: 10px; 1.28 + padding-bottom: 4px; 1.29 + border-bottom: 2px; 1.30 + extra border width for top row: 2px 1.31 + (4px of border outside height) 1.32 + 1.33 + width is 287px: 1.34 + (3px of border outside width) 1.35 + extra border width for left column: 2px 1.36 + cell * 5: == 57px * 5 == 285px 1.37 + border-left: 1px; 1.38 + padding-left: 3px; 1.39 + width: 50px; 1.40 + padding-right: 2px; 1.41 + border-right: 1px; 1.42 + (1px of border outside width) 1.43 + */ 1.44 + 1.45 + div { width: 57px; height: 97px; margin: 2px 121px 8px 123px; } 1.46 + div.color { background-color: aqua; } 1.47 + 1.48 + div.imagetl, div.imagebr { 1.49 + background-image: url(repeatable-diagonal-gradient-with-ticks.png); 1.50 + } 1.51 + 1.52 + div.imagetl { background-position: 0 0; } 1.53 + div.imagebr { background-position: 57px 97px; } 1.54 + 1.55 + </style> 1.56 +</head> 1.57 +<body> 1.58 + 1.59 +<div class="color"></div> 1.60 +<div class="imagetl"></div> 1.61 +<div class="imagebr"></div> 1.62 + 1.63 +</body> 1.64 +</html>