summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Drake <tlsa@netsurf-browser.org>2009-01-29 22:18:43 (GMT)
committer Michael Drake <tlsa@netsurf-browser.org>2009-01-29 22:18:43 (GMT)
commita1e34c439ac96f64510813ce5bc3181ae481be23 (patch)
tree0ab83f94b9f97f72443a279ec593cae3dd337715
parent96b8df5bca09008c3b613d90aae49e6ac1be3ec1 (diff)
downloadnetsurftest-a1e34c439ac96f64510813ce5bc3181ae481be23.tar.gz
netsurftest-a1e34c439ac96f64510813ce5bc3181ae481be23.tar.bz2
Test case for block formatting context box with top margin large enough to clear floats above.
svn path=/trunk/netsurftest/; revision=6294
-rw-r--r--works/block-formatting-context-top-margin.html31
1 files changed, 31 insertions, 0 deletions
diff --git a/works/block-formatting-context-top-margin.html b/works/block-formatting-context-top-margin.html
new file mode 100644
index 0000000..b0bbe2c
--- a/dev/null
+++ b/works/block-formatting-context-top-margin.html
@@ -0,0 +1,31 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
+ "http://www.w3.org/TR/html4/strict.dtd">
+<html>
+<body>
+<div style="background:red; height:2px;">
+ <div style="float:left; background:yellow;">
+ mmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmm
+ </div>
+</div>
+<div style="margin:30px auto; width:1024px; overflow:hidden; background:orange;">
+ moose moose moose moose moose moose moose moose moose moose moose
+ moose moose moose moose moose moose moose moose moose moose moose
+ moose moose moose moose moose moose moose moose moose moose moose
+ moose moose moose moose moose moose moose moose moose moose moose
+ moose moose moose moose moose moose moose moose moose moose moose
+ moose moose moose moose moose moose moose moose moose moose moose
+ moose moose moose moose moose moose moose moose moose moose moose
+ moose moose moose moose moose moose moose moose moose moose moose
+ moose moose moose moose moose moose moose moose moose moose moose
+ moose moose moose moose moose moose moose moose moose moose moose
+ moose moose moose moose moose moose moose moose moose moose moose
+ moose moose moose moose moose moose moose moose moose moose moose
+ moose moose moose moose moose moose moose moose moose moose moose
+ moose moose moose moose moose moose moose moose moose moose moose
+ moose moose moose moose moose moose moose moose moose moose moose
+ moose moose moose moose moose moose moose moose moose moose moose
+ moose moose moose moose moose moose moose moose moose moose moose
+ moose moose moose moose moose moose moose moose moose moose moose
+ moose moose moose moose moose moose moose moose moose moose moose
+ moose moose moose moose moose moose moose moose moose moose moose
+</div> \ No newline at end of file