Wed, 31 Dec 2014 06:55:50 +0100
Added tag UPSTREAM_283F7C6 for changeset ca08bd8f51b2
michael@0 | 1 | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"> |
michael@0 | 2 | <head> |
michael@0 | 3 | <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"> |
michael@0 | 4 | <title>layers: opacity</title> |
michael@0 | 5 | <link rel="next" href="backgr_fixed-bg.html" title="Special Tests: Fixed Backgrounds"> |
michael@0 | 6 | <link rel="prev" href="backgr_border-table-cell.html" title="Special Tests: Fixed Backgrounds"> |
michael@0 | 7 | <link rel="stylesheet" type="text/css" href="common.css"> |
michael@0 | 8 | |
michael@0 | 9 | <style type="text/css"> |
michael@0 | 10 | table{background: white; color: black;} |
michael@0 | 11 | caption {color: white;} |
michael@0 | 12 | tr {background: red; opacity: 0.5; } |
michael@0 | 13 | tfoot {background: yellow; opacity: 0.5; } |
michael@0 | 14 | .a, .p {background: blue; opacity: 0.5; } |
michael@0 | 15 | |
michael@0 | 16 | </style> |
michael@0 | 17 | </head> |
michael@0 | 18 | <body> |
michael@0 | 19 | <h1>CSS2 Table Backgrounds Test Suite</h1> |
michael@0 | 20 | |
michael@0 | 21 | <h2>Part E: Special Tests</h2> |
michael@0 | 22 | |
michael@0 | 23 | <h3>opacity: 0.5</h3> |
michael@0 | 24 | |
michael@0 | 25 | <ul> |
michael@0 | 26 | <li>The first three rows should be red. |
michael@0 | 27 | <li>The last row should be orange. |
michael@0 | 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. |
michael@0 | 29 | </ul> |
michael@0 | 30 | |
michael@0 | 31 | <dl> |
michael@0 | 32 | <dt>next |
michael@0 | 33 | <dd><a href="backgr_fixed-bg.html">Special Tests: Fixed Backgrounds</a> |
michael@0 | 34 | <dt>previous |
michael@0 | 35 | <dd><a href="backgr_border-table-cell.html">Background with Borders: Background on 'table-cell'</a> |
michael@0 | 36 | <dt>contents |
michael@0 | 37 | <dd><a href="./backgr_index.html">Table of Contents</a> |
michael@0 | 38 | </dl> |
michael@0 | 39 | |
michael@0 | 40 | <table class="separate"> |
michael@0 | 41 | <caption>With 'border-collapse: separate'</caption> |
michael@0 | 42 | <colgroup class="colgroup-A"> |
michael@0 | 43 | <col class="col-1"> |
michael@0 | 44 | <col class="col-2"> |
michael@0 | 45 | <col class="col-3"> |
michael@0 | 46 | </colgroup> |
michael@0 | 47 | <colgroup class="colgroup-B"> |
michael@0 | 48 | <col class="col-4"> |
michael@0 | 49 | </colgroup> |
michael@0 | 50 | <thead> |
michael@0 | 51 | <tr class="th-row-1"> |
michael@0 | 52 | <th class="a">TH A</th> |
michael@0 | 53 | <th class="b">TH B</th> |
michael@0 | 54 | <th class="c"></th> |
michael@0 | 55 | <th class="d">TH D</th> |
michael@0 | 56 | </tr> |
michael@0 | 57 | </thead> |
michael@0 | 58 | <tfoot> |
michael@0 | 59 | <tr class="tb-row-1"> |
michael@0 | 60 | <td class="m" colspan=2>TD M</td> |
michael@0 | 61 | |
michael@0 | 62 | <td class="o">TD O</td> |
michael@0 | 63 | <td class="p">TD P</td> |
michael@0 | 64 | </tfoot> |
michael@0 | 65 | <tbody> |
michael@0 | 66 | <tr class="tb-row-1"> |
michael@0 | 67 | <td class="e" rowspan=2>TD E</td> |
michael@0 | 68 | <td class="f">TD F</td> |
michael@0 | 69 | <td class="g">TD G</td> |
michael@0 | 70 | <td class="h">TD H</td> |
michael@0 | 71 | </tr> |
michael@0 | 72 | <tr class="tb-row-2"> |
michael@0 | 73 | |
michael@0 | 74 | <td class="j">TD J</td> |
michael@0 | 75 | <td class="k">TD K</td> |
michael@0 | 76 | <td class="l">TD L</td> |
michael@0 | 77 | </tr> |
michael@0 | 78 | </tbody> |
michael@0 | 79 | </table> |
michael@0 | 80 | |
michael@0 | 81 | <table class="collapse"> |
michael@0 | 82 | <caption>With 'border-collapse: collapse'</caption> |
michael@0 | 83 | <colgroup class="colgroup-A"> |
michael@0 | 84 | <col class="col-1"> |
michael@0 | 85 | <col class="col-2"> |
michael@0 | 86 | <col class="col-3"> |
michael@0 | 87 | </colgroup> |
michael@0 | 88 | <colgroup class="colgroup-B"> |
michael@0 | 89 | <col class="col-4"> |
michael@0 | 90 | </colgroup> |
michael@0 | 91 | <thead> |
michael@0 | 92 | <tr class="th-row-1"> |
michael@0 | 93 | <th class="a">TH A</th> |
michael@0 | 94 | <th class="b">TH B</th> |
michael@0 | 95 | <th class="c"></th> |
michael@0 | 96 | <th class="d">TH D</th> |
michael@0 | 97 | </tr> |
michael@0 | 98 | </thead> |
michael@0 | 99 | <tfoot> |
michael@0 | 100 | <tr class="tb-row-1"> |
michael@0 | 101 | <td class="m" colspan=2>TD M</td> |
michael@0 | 102 | |
michael@0 | 103 | <td class="o">TD O</td> |
michael@0 | 104 | <td class="p">TD P</td> |
michael@0 | 105 | </tfoot> |
michael@0 | 106 | <tbody> |
michael@0 | 107 | <tr class="tb-row-1"> |
michael@0 | 108 | <td class="e" rowspan=2>TD E</td> |
michael@0 | 109 | <td class="f">TD F</td> |
michael@0 | 110 | <td class="g">TD G</td> |
michael@0 | 111 | <td class="h">TD H</td> |
michael@0 | 112 | </tr> |
michael@0 | 113 | <tr class="tb-row-2"> |
michael@0 | 114 | |
michael@0 | 115 | <td class="j">TD J</td> |
michael@0 | 116 | <td class="k">TD K</td> |
michael@0 | 117 | <td class="l">TD L</td> |
michael@0 | 118 | </tr> |
michael@0 | 119 | </tbody> |
michael@0 | 120 | </table> |
michael@0 | 121 | <div class="validity"> |
michael@0 | 122 | <a href="http://validator.w3.org/check/referer"><img |
michael@0 | 123 | src="valid-html401.png" height="31" width="88" |
michael@0 | 124 | alt="Valid HTML 4.01!"></a> |
michael@0 | 125 | </div> |
michael@0 | 126 | <address> |
michael@0 | 127 | CSS2 Table Backgrounds Test Suite designed and written by fantasai <fantasai@escape.com> |
michael@0 | 128 | </address> |
michael@0 | 129 | </body> |
michael@0 | 130 | </html> |