1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/layout/reftests/table-background/border-separate-table-ref.html Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,64 @@ 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 { width: 325px; height: 145px; margin: 0px 3px 2px 4px; } 1.49 + div.color { background-color: aqua; } 1.50 + 1.51 + div.imagetl, div.imagebr { 1.52 + background-image: url(repeatable-diagonal-gradient-with-ticks.png); 1.53 + } 1.54 + 1.55 + div.imagetl { background-position: 3px 4px; } 1.56 + div.imagebr { background-position: 323px 138px; } 1.57 + 1.58 + </style> 1.59 +</head> 1.60 +<body> 1.61 + 1.62 +<div class="color"></div> 1.63 +<div class="imagetl"></div> 1.64 +<div class="imagebr"></div> 1.65 + 1.66 +</body> 1.67 +</html>