summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/CSS2/css1/c414-flt-fit-000-ref.xht
blob: 49f2b02d99895d35897daaad5e719ae5cd1421d1 (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
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">

 <head>

  <title>CSS Reftest Reference</title>

  <link rel="author" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" />

  <style type="text/css"><![CDATA[
  table
  {
  font: 16px monospace;
  border-collapse: separate;
  border: blue solid medium;
  border-spacing: 0px;
  margin-left: 10px;
  padding: 1em;
  table-layout: fixed;
  width: 16.375em;
  /*
   14em (5em column + 5em column + 4em column)
  + 2em (left and right horizontal padding)
  + 6px (2 vertical 3px borders)
  =====
  16.375em
  */
  }

  col {width: 5em;}

  col#special {width: 4em;}

  td
  {
  padding: 0;
  }
  ]]></style>

 </head>

 <body>

  <p>There should be five numbers, in numerical order, below: on the first line 1, 2 and 3, on the second, 4 and 5.</p>

  <table>

   <col></col> <col></col> <col id="special"></col>

   <tr><td>1</td><td>2</td><td>3</td></tr>

   <tr><td>4</td><td>5</td><td></td></tr>

  </table>

 </body>
</html>