summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Drake <tlsa@netsurf-browser.org>2011-01-26 17:17:11 (GMT)
committer Michael Drake <tlsa@netsurf-browser.org>2011-01-26 17:17:11 (GMT)
commit3015cbc76bea94bbd115d1537169d285f00e3f27 (patch)
treefec012c34cf7e5d0fa9353a69b9412da2e82f4d8
parent393b868f996014bd167d01b7515d2a64fd32744b (diff)
downloadnetsurftest-3015cbc76bea94bbd115d1537169d285f00e3f27.tar.gz
netsurftest-3015cbc76bea94bbd115d1537169d285f00e3f27.tar.bz2
Simplify test cases and ensure strict layout.
svn path=/trunk/netsurftest/; revision=11501
-rw-r--r--works/block-formatting-context-last-margin-negative.html28
-rw-r--r--works/block-formatting-context-last-margin-positive.html28
2 files changed, 16 insertions, 40 deletions
diff --git a/works/block-formatting-context-last-margin-negative.html b/works/block-formatting-context-last-margin-negative.html
index fa68779..b7227a5 100644
--- a/works/block-formatting-context-last-margin-negative.html
+++ b/works/block-formatting-context-last-margin-negative.html
@@ -1,24 +1,12 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
+ "http://www.w3.org/TR/html4/strict.dtd">
<html>
<body>
-<div style="overflow:auto;">
-<p style="margin:1em 0 -100px 0; background: #fda;">
-moose moose moose moose moose moose moose moose moose moose moose moose
-moose moose moose moose moose moose moose moose moose moose moose moose
-moose moose moose moose moose moose moose moose moose moose moose moose
-moose moose moose moose moose moose moose moose moose moose moose moose
-moose moose moose moose moose moose moose moose moose moose moose moose
-moose moose moose moose moose moose moose moose moose moose moose moose
-moose moose moose moose moose moose moose moose moose moose moose moose
-moose moose moose moose moose moose moose moose moose moose moose moose
-moose moose moose moose moose moose moose moose moose moose moose moose
-moose moose moose moose moose moose moose moose moose moose moose moose
-moose moose moose moose moose moose moose moose moose moose moose moose
-moose moose moose moose moose moose moose moose moose moose moose moose
-moose moose moose moose moose moose moose moose moose moose moose moose
-moose moose moose moose moose moose moose moose moose moose moose moose
-moose moose moose moose moose moose moose moose moose moose moose moose
-moose moose moose moose moose moose moose moose moose moose moose moose
-</p>
+<div style="overflow:auto; background: #fda;">
+ <div style="margin:0 0 -100px 0;">
+ <div style="height:200px; width:200px; background: #f80;">
+ </div>
+ </div>
</div>
</body>
-</html> \ No newline at end of file
+</html>
diff --git a/works/block-formatting-context-last-margin-positive.html b/works/block-formatting-context-last-margin-positive.html
index 63c3454..f5f7221 100644
--- a/works/block-formatting-context-last-margin-positive.html
+++ b/works/block-formatting-context-last-margin-positive.html
@@ -1,24 +1,12 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
+ "http://www.w3.org/TR/html4/strict.dtd">
<html>
<body>
-<div style="overflow:auto;">
-<p style="margin:1em 0 100px 0; background: #fda;">
-moose moose moose moose moose moose moose moose moose moose moose moose
-moose moose moose moose moose moose moose moose moose moose moose moose
-moose moose moose moose moose moose moose moose moose moose moose moose
-moose moose moose moose moose moose moose moose moose moose moose moose
-moose moose moose moose moose moose moose moose moose moose moose moose
-moose moose moose moose moose moose moose moose moose moose moose moose
-moose moose moose moose moose moose moose moose moose moose moose moose
-moose moose moose moose moose moose moose moose moose moose moose moose
-moose moose moose moose moose moose moose moose moose moose moose moose
-moose moose moose moose moose moose moose moose moose moose moose moose
-moose moose moose moose moose moose moose moose moose moose moose moose
-moose moose moose moose moose moose moose moose moose moose moose moose
-moose moose moose moose moose moose moose moose moose moose moose moose
-moose moose moose moose moose moose moose moose moose moose moose moose
-moose moose moose moose moose moose moose moose moose moose moose moose
-moose moose moose moose moose moose moose moose moose moose moose moose
-</p>
+<div style="overflow:auto; background: #fda;">
+ <div style="margin:0 0 100px 0;">
+ <div style="height:200px; width:200px; background: #f80;">
+ </div>
+ </div>
</div>
</body>
-</html> \ No newline at end of file
+</html>