summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-tables/col-definite-min-size-001.html
blob: 7fb6632eec481922f720281deba03e2fd38a0407 (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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
<!doctype html>
<link rel="author" title="Mats Palmgren" href="mailto:mats@mozilla.com">
<link rel="help" href="https://drafts.csswg.org/css-tables-3/#missing-cells-fixup">
<link rel="help" href="https://drafts.csswg.org/css-tables-3/#total-horizontal-border-spacing">
<link rel="help" href="https://drafts.csswg.org/css-tables-3/#outer-max-content">
<link rel="help" href="https://bugzilla.mozilla.org/show_bug.cgi?id=1692607">
<link rel="match" href="col-definite-size-001-ref.html">

<table border="1" cellspacing="10">
  <colgroup>
    <col style="min-width:100px">
    <col style="min-width:100px">
    <col style="min-width:100px">
    <col style="min-width:100px">
  </colgroup>
  <thead>
    <tr>
      <td>1</td>
      <td>2</td>
    </tr>
  </thead>
</table>

<table border="1" cellspacing="10">
  <colgroup>
    <col style="min-width:calc(100px + 1%)">
    <col style="min-width:calc(100px + 1%)">
    <col style="min-width:calc(100px + 1%)">
    <col style="min-width:calc(100px + 1%)">
  </colgroup>
  <thead>
    <tr>
      <td>1</td>
      <td>2</td>
    </tr>
  </thead>
</table>

<table border="1" cellspacing="10">
  <colgroup>
    <col style="min-width:50%">
    <col style="min-width:50%">
    <col style="min-width:50%">
    <col style="min-width:50%">
  </colgroup>
  <thead>
    <tr>
      <td>1</td>
      <td>2</td>
    </tr>
  </thead>
</table>

<table border="1" cellspacing="10">
  <colgroup>
    <col>
    <col>
    <col style="min-width:0">
    <col style="min-width:0">
  </colgroup>
  <thead>
    <tr>
      <td>1</td>
      <td>2</td>
    </tr>
  </thead>
</table>