summaryrefslogtreecommitdiff
path: root/legacy/haveproblems/shrink-to-fit.html
diff options
context:
space:
mode:
authorMichael Drake <michael.drake@codethink.co.uk>2019-02-16 14:39:10 +0000
committerMichael Drake <michael.drake@codethink.co.uk>2019-02-16 14:39:10 +0000
commit48553ee9ba7723d46c10fdc7705e3b79e328d384 (patch)
treed066fa82cc308b57c5d00f3dd0538969d5a028a2 /legacy/haveproblems/shrink-to-fit.html
parentff7f36cc9ef5f8ec8b97bcce543f966e726389bb (diff)
downloadnetsurf-test-48553ee9ba7723d46c10fdc7705e3b79e328d384.tar.gz
netsurf-test-48553ee9ba7723d46c10fdc7705e3b79e328d384.tar.bz2
legacy tests: Move all the old tests to a legacy directory.
These are from the old days of ad-hoc manual testing. There is nothing to indicate correct behaviour for these files without viewing the source, or comparing with another browser.
Diffstat (limited to 'legacy/haveproblems/shrink-to-fit.html')
-rw-r--r--legacy/haveproblems/shrink-to-fit.html34
1 files changed, 34 insertions, 0 deletions
diff --git a/legacy/haveproblems/shrink-to-fit.html b/legacy/haveproblems/shrink-to-fit.html
new file mode 100644
index 0000000..fa2ace0
--- /dev/null
+++ b/legacy/haveproblems/shrink-to-fit.html
@@ -0,0 +1,34 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
+ "http://www.w3.org/TR/html4/strict.dtd">
+<html>
+<body>
+<p style="clear:both;">Containing floats.</p>
+<div style="float:left;clear:both;background:green;padding:4px;margin-bottom:2em;">
+ <div style="float:left; width:600px;height:50px;background:red;"></div>
+ <div style="float:left; width:500px;height:50px;background:red;"></div>
+ <div style="float:left; width:400px;height:50px;background:red;"></div>
+ <div style="float:left; width:300px;height:50px;background:red;"></div>
+</div>
+<p style="clear:both;">Containing cleared floats.</p>
+<div style="float:left;clear:both;background:green;padding:4px;margin-bottom:2em;">
+ <div style="float:left; width:600px;height:50px;background:red;clear:both;"></div>
+ <div style="float:left; width:500px;height:50px;background:red;clear:both;"></div>
+ <div style="float:left; width:400px;height:50px;background:red;clear:both;"></div>
+ <div style="float:left; width:300px;height:50px;background:red;clear:both;"></div>
+</div>
+<p style="clear:both;">Containing blocks.</p>
+<div style="float:left;clear:both;background:green;padding:4px;margin-bottom:2em;">
+ <div style="width:600px;height:50px;background:red;"></div>
+ <div style="width:500px;height:50px;background:red;"></div>
+ <div style="width:400px;height:50px;background:red;"></div>
+ <div style="width:300px;height:50px;background:red;"></div>
+</div>
+<p style="clear:both;">Containing positioned blocks.</p>
+<div style="float:left;clear:both;background:green;padding:4px;margin-bottom:2em;">
+ <div style="width:600px;height:50px;background:red;position:absolute;"></div>
+ <div style="width:500px;height:50px;background:red;position:absolute;"></div>
+ <div style="width:400px;height:50px;background:red;position:absolute;"></div>
+ <div style="width:300px;height:50px;background:red;position:absolute;"></div>
+</div>
+</body>
+</html>