summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/html/rendering/non-replaced-elements/tables/table-border-presentational-hints-ascii-case-insensitive-ref.html
blob: c8d6a20726fd84900f192b34206954eeec57f61d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
<!DOCTYPE html>
<meta charset="utf-8">
<link rel="stylesheet" type="text/css" href="/fonts/ahem.css">
<style>
table {
  display: inline-table;
  font-family: Ahem;
}
table, table * {
  border-width: 3px;
}
</style>
<p>For every three tables below, the first two should have borders between some cells, but not the third:
<table rules="rows"><tr><td>X<tr><td>X<tr><td>X</table>
<table rules="rows"><tr><td>X<tr><td>X<tr><td>X</table>
<table><tr><td>X<tr><td>X<tr><td>X</table>
<br><br>
<table rules="cols"><tr><td>X<td>X<td>X</table>
<table rules="cols"><tr><td>X<td>X<td>X</table>
<table><tr><td>X<td>X<td>X</table>
<br><br>
<table rules="groups"><colgroup span="2"><colgroup><tr><td>X<td>X<td>X</table>
<table rules="groups"><colgroup span="2"><colgroup><tr><td>X<td>X<td>X</table>
<table><colgroup span="2"><colgroup><tr><td>X<td>X<td>X</table>
<br><br>
<p>For every three tables below, the first two should have borders on some edges, but not the third:
<table frame="hsides"><tr><td>X</table>
<table frame="hsides"><tr><td>X</table>
<table><tr><td>X</table>
<br><br>
<table frame="lhs"><tr><td>X</table>
<table frame="lhs"><tr><td>X</table>
<table><tr><td>X</table>
<br><br>
<table frame="rhs"><tr><td>X</table>
<table frame="rhs"><tr><td>X</table>
<table><tr><td>X</table>
<br><br>
<table frame="vsides"><tr><td>X</table>
<table frame="vsides"><tr><td>X</table>
<table><tr><td>X</table>