summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Drake <tlsa@netsurf-browser.org>2009-01-22 15:40:55 (GMT)
committer Michael Drake <tlsa@netsurf-browser.org>2009-01-22 15:40:55 (GMT)
commitf2cb5a4c9324d33eab86b25383620fdd931fbfc6 (patch)
treea03c0f600dc5b887d91f8ba4376a1f2499263fd8
parent826123d72e5787da1201087479881e5b744e4c0b (diff)
downloadnetsurftest-f2cb5a4c9324d33eab86b25383620fdd931fbfc6.tar.gz
netsurftest-f2cb5a4c9324d33eab86b25383620fdd931fbfc6.tar.bz2
Test case for fixed clear issue.
svn path=/trunk/netsurftest/; revision=6175
-rw-r--r--works/float-clear-block-formatting-context.html19
1 files changed, 19 insertions, 0 deletions
diff --git a/works/float-clear-block-formatting-context.html b/works/float-clear-block-formatting-context.html
new file mode 100644
index 0000000..97081df
--- a/dev/null
+++ b/works/float-clear-block-formatting-context.html
@@ -0,0 +1,19 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html>
+<head>
+<style type="text/css" media="screen, print">
+#first { float: left; }
+#second { background-color: #ddd; clear: both; overflow: hidden; }
+</style>
+</head>
+<body>
+
+ <div id="first">
+ Top
+ </div>
+ <div id="second">
+ Should be below Top
+ </div>
+
+</head>
+</html> \ No newline at end of file