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