summaryrefslogtreecommitdiff
path: root/old/test/css-top-margin-bug.html
diff options
context:
space:
mode:
Diffstat (limited to 'old/test/css-top-margin-bug.html')
-rw-r--r--old/test/css-top-margin-bug.html37
1 files changed, 37 insertions, 0 deletions
diff --git a/old/test/css-top-margin-bug.html b/old/test/css-top-margin-bug.html
new file mode 100644
index 0000000..e74a420
--- /dev/null
+++ b/old/test/css-top-margin-bug.html
@@ -0,0 +1,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 -->