summaryrefslogtreecommitdiff
path: root/old/test/css-top-margin-bug.html
blob: e74a4209f7120cef7e20b47df555df0171d7694b (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
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
   <head>
      <meta http-equiv="content-type" content="text/html; charset=US-ASCII">
      <title>Title</title>
      <link href="style.css" rel="stylesheet" type="text/css">
   </head>
   <body>
      <h1>Headline 1</h1>
      <p></p>
      <div class="top">
         <h2>Headline 2</h2>
      </div>
      <div class="content">
         <p>
            Content (dillo 2.2 creates a margin at the top - dillo 2.1.1 and
            other browsers do not)
         </p>
      </div>
      <div class="top">
         Normal Text
      </div>
      <div class="content">
         <p>Content (dillo 2.2 creates no margin - as expected)</p>
      </div>
      <div class="top">
         <p>Paragraph</p>
      </div>
      <div class="content">
         <p>Content (dillo 2.2 creates margin at the top - as with headline)</p>
      </div>
      <!-- Footer -->
      <hr>
      <p>Footer</p>
   </body>
</html>
<!-- EOF -->