Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(622)

Side by Side Diff: third_party/WebKit/LayoutTests/tables/mozilla_expected_failures/marvin/backgr_layers-show.html

Issue 2600903002: Paint the whole of a table-part background image behind the cells in a table (Closed)
Patch Set: Paint the whole of an image behind the cells in a table Created 3 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(Empty)
1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN">
2 <head>
3 <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
4 <title>empty-cells: show</title>
5 <link rel="next" href="backgr_layers-hide.html" title="Background Layers: empty- cell: hide">
6 <link rel="prev" href="backgr_position-table-cell.html" title="Background Positi on: Background on 'table-cell'">
7 <link rel="contents" href="./backgr_index.html" title="Table of Contents">
8 <link rel="stylesheet" type="text/css" href="common.css">
9 <style type="text/css">
10 body {overflow: hidden;}
11 table {background: blue; empty-cells: show}
12 tbody, thead {background: url(../images/edge.gif) right top no-repeat}
13 tr {background: url(../images/edge.gif) 0 10px no-repeat}
14 .colgroup-A {background: url(../images/edge.gif) 100% 20px no-repeat}
15 .col-3 {background: url(../images/edge.gif) 0 30px no-repeat}
16 .c {background: url(../images/edge.gif) -20px 100% no-repeat; min- height: 50px}
17
18 </style>
19 </head>
20 <body>
21 <h1>CSS2 Table Backgrounds Test Suite</h1>
22
23 <h2>Part C: Background Layers</h2>
24
25 <h3>empty-cells: show</h3>
26
27 <p>Both tables should have a blue background.</p>
28
29 <p>In table cell C (third cell in the first row), which is empty:</p>
30 <ul>
31 <li>Four sets of horizontal double violet stripes surrounded by aqua sho uld run just inside the top border edge.
32 <li>One set of aqua-backed double violet stripes should run just inside the left, right, and bottom border edges.
33 <li>The third set along the top should turn down at the right edge and g o under the fourth set to form the right-edge set.
34 <li>The fourth set should turn down at the left edge to form the left se t.
35 <li>The bottom stripe should be straight and cut across <em>over</em> th e side sets.
36 </ul>
37 <p>In table cell A, (first cell in the first row):</p>
38 <ul>
39 <li>Three sets of horizontal aqua-backed double violet stripes should ru n just inside the top border edge.
40 <li>The first set should run across.
41 <li>The second set should turn down at the left edge, going over the thi rd set to form another set that runs just inside the left border edge.
42 </ul>
43 <p>In table cell D, (last cell in the first row):</p>
44 <ul>
45 <li>Two sets of horizontal aqua-backed double violet strips should run j ust inside the top border edge.
46 <li>The first set should turn down at the right edge, going under the se cond horizontal set to run vertically just inside the right border edge.
47 </ul>
48 <p>In table cell G, (third cell in the second row):</p>
49 <ul>
50 <li>Two sets of horizontal aqua-backed double violet stripes should run just inside the top border edge.
51 <li>A set of vertical stripes should run down just inside the left borde r edge, going under both horizontal stripes.
52 <li>Another set of vertical stripes should run down just inside the righ t border edge, also going under both horizontal stripes.
53 </ul>
54 <dl>
55 <dt>next
56 <dd><a href="backgr_layers-hide.html">Background Layers: empty-cells: show</a>
57 <dt>previous
58 <dd><a href="backgr_position-table-cell.html">Background Position: Bac kground on 'table-cell'</a>
59 <dt>contents
60 <dd><a href="./backgr_index.html">Table of Contents</a>
61 </dl>
62
63 <table class="separate">
64 <caption>With 'border-collapse: separate'</caption>
65 <colgroup class="colgroup-A">
66 <col class="col-1">
67 <col class="col-2">
68 <col class="col-3">
69 </colgroup>
70 <colgroup class="colgroup-B">
71 <col class="col-4">
72 </colgroup>
73 <thead>
74 <tr class="th-row-1">
75 <th class="a">TH A</th>
76 <th class="b">TH B</th>
77 <th class="c"></th>
78 <th class="d">TH D</th>
79 </tr>
80 </thead>
81 <tfoot>
82 <tr class="tb-row-1">
83 <td class="m" colspan=2>TD M</td>
84
85 <td class="o">TD O</td>
86 <td class="p">TD P</td>
87 </tfoot>
88 <tbody>
89 <tr class="tb-row-1">
90 <td class="e" rowspan=2>TD E</td>
91 <td class="f">TD F</td>
92 <td class="g">TD G</td>
93 <td class="h">TD H</td>
94 </tr>
95 <tr class="tb-row-2">
96
97 <td class="j">TD J</td>
98 <td class="k">TD K</td>
99 <td class="l">TD L</td>
100 </tr>
101 </tbody>
102 </table>
103
104 <table class="collapse">
105 <caption>With 'border-collapse: collapse'</caption>
106 <colgroup class="colgroup-A">
107 <col class="col-1">
108 <col class="col-2">
109 <col class="col-3">
110 </colgroup>
111 <colgroup class="colgroup-B">
112 <col class="col-4">
113 </colgroup>
114 <thead>
115 <tr class="th-row-1">
116 <th class="a">TH A</th>
117 <th class="b">TH B</th>
118 <th class="c"></th>
119 <th class="d">TH D</th>
120 </tr>
121 </thead>
122 <tfoot>
123 <tr class="tb-row-1">
124 <td class="m" colspan=2>TD M</td>
125
126 <td class="o">TD O</td>
127 <td class="p">TD P</td>
128 </tfoot>
129 <tbody>
130 <tr class="tb-row-1">
131 <td class="e" rowspan=2>TD E</td>
132 <td class="f">TD F</td>
133 <td class="g">TD G</td>
134 <td class="h">TD H</td>
135 </tr>
136 <tr class="tb-row-2">
137
138 <td class="j">TD J</td>
139 <td class="k">TD K</td>
140 <td class="l">TD L</td>
141 </tr>
142 </tbody>
143 </table>
144 <div class="validity">
145 <a href="http://validator.w3.org/check/referer"><img
146 src="../images/valid-html401.png" height="31" width="88"
147 alt="Valid HTML 4.01!"></a>
148 </div>
149 <address>
150 CSS2 Table Backgrounds Test Suite designed and written by fantasai &lt;fantasa i&#64;escape.com&gt;
151 </address>
152
153 </body>
154 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698