summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Drake <tlsa@netsurf-browser.org>2010-04-27 17:52:11 (GMT)
committer Michael Drake <tlsa@netsurf-browser.org>2010-04-27 17:52:11 (GMT)
commit80ca255ab5f1adfe93bd6e252f003015b5d002b6 (patch)
treef4fdcea3bb00743f5ebcd066ab7ba232aea9972f
parentc6f9d1376a1d640c2cf33cbf29728e2f09e3db85 (diff)
downloadnetsurftest-80ca255ab5f1adfe93bd6e252f003015b5d002b6.tar.gz
netsurftest-80ca255ab5f1adfe93bd6e252f003015b5d002b6.tar.bz2
Test case for bad widths for floats due to the available width being unknown when when we do the minmax width layout pass.
svn path=/trunk/netsurftest/; revision=10499
-rw-r--r--haveproblems/percentage-margin-floats2.html21
1 files changed, 21 insertions, 0 deletions
diff --git a/haveproblems/percentage-margin-floats2.html b/haveproblems/percentage-margin-floats2.html
new file mode 100644
index 0000000..70edf35
--- a/dev/null
+++ b/haveproblems/percentage-margin-floats2.html
@@ -0,0 +1,21 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
+ "http://www.w3.org/TR/html4/strict.dtd">
+<html>
+<head>
+<title>Percentage margin floats</title>
+<style>
+div {
+ margin-left: 30%;
+ float: left;
+ padding: 8px;
+ border: 1px solid #bbb;
+ background-color: #ddd; }
+div div {
+ background-color: #fff;}
+</style>
+</head>
+
+<body>
+<div><div>hello mooses</div></div>
+</body>
+</html>