summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Drake <tlsa@netsurf-browser.org>2010-04-27 17:49:05 +0000
committerMichael Drake <tlsa@netsurf-browser.org>2010-04-27 17:49:05 +0000
commitc6f9d1376a1d640c2cf33cbf29728e2f09e3db85 (patch)
tree6056b4e07c2201abbaddcff66c3876f41eea24a4
parent5d988a5041b5712490c80a911d7f35d4087fbba0 (diff)
downloadnetsurf-test-c6f9d1376a1d640c2cf33cbf29728e2f09e3db85.tar.gz
netsurf-test-c6f9d1376a1d640c2cf33cbf29728e2f09e3db85.tar.bz2
Regression tests for r10497 layout fix.
svn path=/trunk/netsurftest/; revision=10498
-rw-r--r--works/percentage-margin-floats.html19
-rw-r--r--works/percentage-margin-floats3.html19
-rw-r--r--works/percentage-margin-floats4.html19
3 files changed, 57 insertions, 0 deletions
diff --git a/works/percentage-margin-floats.html b/works/percentage-margin-floats.html
new file mode 100644
index 0000000..500d82f
--- /dev/null
+++ b/works/percentage-margin-floats.html
@@ -0,0 +1,19 @@
+<!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: 7%;
+ float: left;
+ padding: 8px;
+ border: 1px solid #bbb;
+ background-color: #ddd; }
+</style>
+</head>
+
+<body>
+<div>hello mooses</div>
+</body>
+</html>
diff --git a/works/percentage-margin-floats3.html b/works/percentage-margin-floats3.html
new file mode 100644
index 0000000..4dcf016
--- /dev/null
+++ b/works/percentage-margin-floats3.html
@@ -0,0 +1,19 @@
+<!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; }
+</style>
+</head>
+
+<body>
+<div>hello mooses hello mooses hello mooses hello mooses hello mooses hello mooses hello mooses hello mooses hello mooses hello mooses hello mooses hello mooses hello mooses hello mooses hello mooses hello mooses hello mooses hello mooses hello mooses hello mooses hello mooses hello mooses hello mooses hello mooses hello mooses hello mooses hello mooses hello mooses hello mooses hello mooses hello mooses hello mooses hello mooses hello mooses hello mooses hello mooses hello mooses hello mooses hello mooses hello mooses hello mooses hello mooses hello mooses hello mooses hello mooses hello mooses hello mooses hello mooses hello mooses hello mooses hello mooses hello mooses hello mooses hello mooses hello mooses hello mooses hello mooses hello mooses hello mooses hello mooses hello mooses hello mooses hello mooses hello mooses hello mooses hello mooses hello mooses hello mooses hello mooses hello mooses hello mooses hello mooses hello mooses hello mooses hello mooses hello mooses hello mooses hello mooses hello mooses </div>
+</body>
+</html>
diff --git a/works/percentage-margin-floats4.html b/works/percentage-margin-floats4.html
new file mode 100644
index 0000000..850f4f2
--- /dev/null
+++ b/works/percentage-margin-floats4.html
@@ -0,0 +1,19 @@
+<!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: 100px;
+ float: left;
+ padding: 8px;
+ border: 1px solid #bbb;
+ background-color: #ddd; }
+</style>
+</head>
+
+<body>
+<div>hello mooses hello mooses hello mooses hello mooses hello mooses hello mooses hello mooses hello mooses hello mooses hello mooses hello mooses hello mooses hello mooses hello mooses hello mooses hello mooses hello mooses hello mooses hello mooses hello mooses hello mooses hello mooses hello mooses hello mooses hello mooses hello mooses hello mooses hello mooses hello mooses hello mooses hello mooses hello mooses hello mooses hello mooses hello mooses hello mooses hello mooses hello mooses hello mooses hello mooses hello mooses hello mooses hello mooses hello mooses hello mooses hello mooses hello mooses hello mooses hello mooses hello mooses hello mooses hello mooses hello mooses hello mooses hello mooses hello mooses hello mooses hello mooses hello mooses hello mooses hello mooses hello mooses hello mooses hello mooses hello mooses hello mooses hello mooses hello mooses hello mooses hello mooses hello mooses hello mooses hello mooses hello mooses hello mooses hello mooses hello mooses hello mooses hello mooses </div>
+</body>
+</html>