summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/CSS2/box-display/block-in-inline-001-ref.xht
blob: 40922b52bdce863e732faeefbef79b3ff10f1bda (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
<!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[
  td
  {
  border: black solid;
  color: black;
  padding: 0;
  }

  .lime {background-color: lime;}
  .green {background-color: green;}
  ]]></style>

 </head>

 <body>

  <p>The following two boxes should look identical.</p>

  <table>
   <tr>
    <td>
     <div class="lime">Line 1</div>
     <div class="green">Line 2</div>
     <div class="lime">Line 3</div>
    </td>
    <td>
     <div class="lime">Line 1</div>
     <div class="green">Line 2</div>
     <div class="lime">Line 3</div>
    </td>
   </tr>
  </table>

 </body>
</html>