summaryrefslogtreecommitdiffstats
path: root/layout/reftests/floats/1236745-1-ref.html
diff options
context:
space:
mode:
Diffstat (limited to 'layout/reftests/floats/1236745-1-ref.html')
-rw-r--r--layout/reftests/floats/1236745-1-ref.html39
1 files changed, 39 insertions, 0 deletions
diff --git a/layout/reftests/floats/1236745-1-ref.html b/layout/reftests/floats/1236745-1-ref.html
new file mode 100644
index 0000000000..79da184857
--- /dev/null
+++ b/layout/reftests/floats/1236745-1-ref.html
@@ -0,0 +1,39 @@
+<!DOCTYPE HTML>
+<title>Reftest, bug 1236745</title>
+<style>
+
+div.contain {
+ border: medium solid blue;
+ width: 100px;
+ height: 200px;
+}
+
+.float1 {
+ float: left;
+ background: yellow;
+ width: 10px;
+ height: 60px;
+}
+
+.float2 {
+ float: left; clear: left;
+ background: aqua;
+ width: 50px;
+ height: 50px;
+}
+
+.bfc {
+ float: right;
+ background: #00137f;
+ width: 50px;
+ height: 50px;
+}
+
+</style>
+
+
+<div class="contain">
+ <div class="float1"></div>
+ <div class="bfc"></div>
+ <div class="float2"></div>
+</div>