1 <!DOCTYPE HTML PUBLIC
"-//W3C//DTD HTML 4.01//EN">
3 <meta http-equiv=
"Content-Type" content=
"text/html; charset=ISO-8859-1">
4 <title>layers: opacity
</title>
5 <link rel=
"next" href=
"backgr_fixed-bg.html" title=
"Special Tests: Fixed Backgrounds">
6 <link rel=
"prev" href=
"backgr_border-table-cell.html" title=
"Special Tests: Fixed Backgrounds">
7 <link rel=
"stylesheet" type=
"text/css" href=
"common.css">
9 <style type=
"text/css">
10 table
{background: white
; color: black
;}
11 caption
{color: white
;}
12 tr
{background: red
; opacity: 0.5; }
13 tfoot
{background: yellow
; opacity: 0.5; }
14 .a, .p {background: blue
; opacity: 0.5; }
19 <h1>CSS2 Table Backgrounds Test Suite
</h1>
21 <h2>Part E: Special Tests
</h2>
26 <li>The first three rows should be red.
27 <li>The last row should be orange.
28 <li>Cell A should be purple. Cell P should also be purple, but of a shade that reflects the underlying orange rather than the red.
33 <dd><a href=
"backgr_fixed-bg.html">Special Tests: Fixed Backgrounds
</a>
35 <dd><a href=
"backgr_border-table-cell.html">Background with Borders: Background on 'table-cell'
</a>
37 <dd><a href=
"./backgr_index.html">Table of Contents
</a>
40 <table class=
"separate">
41 <caption>With 'border-collapse: separate'
</caption>
42 <colgroup class=
"colgroup-A">
47 <colgroup class=
"colgroup-B">
52 <th class=
"a">TH A
</th>
53 <th class=
"b">TH B
</th>
55 <th class=
"d">TH D
</th>
60 <td class=
"m" colspan=
2>TD M
</td>
62 <td class=
"o">TD O
</td>
63 <td class=
"p">TD P
</td>
67 <td class=
"e" rowspan=
2>TD E
</td>
68 <td class=
"f">TD F
</td>
69 <td class=
"g">TD G
</td>
70 <td class=
"h">TD H
</td>
74 <td class=
"j">TD J
</td>
75 <td class=
"k">TD K
</td>
76 <td class=
"l">TD L
</td>
81 <table class=
"collapse">
82 <caption>With 'border-collapse: collapse'
</caption>
83 <colgroup class=
"colgroup-A">
88 <colgroup class=
"colgroup-B">
93 <th class=
"a">TH A
</th>
94 <th class=
"b">TH B
</th>
96 <th class=
"d">TH D
</th>
100 <tr class=
"tb-row-1">
101 <td class=
"m" colspan=
2>TD M
</td>
103 <td class=
"o">TD O
</td>
104 <td class=
"p">TD P
</td>
107 <tr class=
"tb-row-1">
108 <td class=
"e" rowspan=
2>TD E
</td>
109 <td class=
"f">TD F
</td>
110 <td class=
"g">TD G
</td>
111 <td class=
"h">TD H
</td>
113 <tr class=
"tb-row-2">
115 <td class=
"j">TD J
</td>
116 <td class=
"k">TD K
</td>
117 <td class=
"l">TD L
</td>
121 <div class=
"validity">
122 <a href=
"http://validator.w3.org/check/referer"><img
123 src=
"../images/valid-html401.png" height=
"31" width=
"88"
124 alt=
"Valid HTML 4.01!"></a>
127 CSS2 Table Backgrounds Test Suite designed and written by fantasai
<fantasai
@escape.com
>