summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/CSS2/css1/c414-flt-fit-000.xht
diff options
context:
space:
mode:
Diffstat (limited to 'testing/web-platform/tests/css/CSS2/css1/c414-flt-fit-000.xht')
-rw-r--r--testing/web-platform/tests/css/CSS2/css1/c414-flt-fit-000.xht28
1 files changed, 28 insertions, 0 deletions
diff --git a/testing/web-platform/tests/css/CSS2/css1/c414-flt-fit-000.xht b/testing/web-platform/tests/css/CSS2/css1/c414-flt-fit-000.xht
new file mode 100644
index 0000000000..15a53e4aa0
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/css1/c414-flt-fit-000.xht
@@ -0,0 +1,28 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Stacking Non-Replaced Left Floats</title>
+ <link rel="author" title="CSS1 Test Suite Contributors" href="http://www.w3.org/Style/CSS/Test/CSS1/current/tsack.html"/>
+ <link rel="author" title="Ian Hickson" href="mailto:ian@hixie.ch"/>
+ <link rel="reviewer" title="GĂ©rard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-06-30 -->
+ <link rel="help" href="http://www.w3.org/TR/REC-CSS1#floating-elements"/>
+ <link rel="help" href="http://www.w3.org/TR/CSS21/visuren.html#floats" title="9.5 Floats"/>
+ <link rel="match" href="c414-flt-fit-000-ref.xht" />
+
+ <style type="text/css"><![CDATA[
+ div { font: 16px monospace; border: solid blue; padding: 1em; width: 14em; margin: 10px; }
+ div p { margin: 0; width: 5em; float: left; }
+ ]]></style>
+
+ </head>
+ <body>
+ <p>There should be five numbers, in numerical order, below: on the first line 1, 2 and 3, on the second, 4 and 5.</p>
+ <div>
+ <p> 1 </p>
+ <p> 2 </p>
+ <p> 4 </p>
+ 3
+ 5&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <!-- the font is set to monospace so we know how wide a nbsp is -->
+ </div>
+ </body>
+</html>