about summary refs log tree commit diff stats
path: root/test/layout
diff options
context:
space:
mode:
Diffstat (limited to 'test/layout')
-rw-r--r--test/layout/bfc-next-to-float.expected5
-rw-r--r--test/layout/bfc-next-to-float.html16
-rw-r--r--test/layout/float-minimum-height.expected11
-rw-r--r--test/layout/float-minimum-height.html15
4 files changed, 47 insertions, 0 deletions
diff --git a/test/layout/bfc-next-to-float.expected b/test/layout/bfc-next-to-float.expected
new file mode 100644
index 00000000..8efff318
--- /dev/null
+++ b/test/layout/bfc-next-to-float.expected
@@ -0,0 +1,5 @@
+firstsecond
+     second second second second second second second second second second
+     second second second second second
+third
+fourthfifth
diff --git a/test/layout/bfc-next-to-float.html b/test/layout/bfc-next-to-float.html
new file mode 100644
index 00000000..cc03fb63
--- /dev/null
+++ b/test/layout/bfc-next-to-float.html
@@ -0,0 +1,16 @@
+<!DOCTYPE html>
+<div style="float: left">
+first
+</div>
+<div style="display: flow-root">
+<div style="width: 100%">second</div> second second second second second second second second second second second second second second second
+</div>
+<div style="display: flow-root">
+third
+</div>
+<div style="float: left">
+fourth
+</div>
+<div style="display: flow-root">
+fifth
+</div>
diff --git a/test/layout/float-minimum-height.expected b/test/layout/float-minimum-height.expected
new file mode 100644
index 00000000..afd43ed3
--- /dev/null
+++ b/test/layout/float-minimum-height.expected
@@ -0,0 +1,11 @@
+
+
+
+
+
+                                                                          line 1
+                                                                          line 2
+                                                                          line 3
+                                                                          line 4
+                                                                          line 5
+testing testing testing testing testing
diff --git a/test/layout/float-minimum-height.html b/test/layout/float-minimum-height.html
new file mode 100644
index 00000000..b466890c
--- /dev/null
+++ b/test/layout/float-minimum-height.html
@@ -0,0 +1,15 @@
+<br>
+<br>
+<br>
+<br>
+<br>
+<div style="display: flow-root">
+<div style="float: right">
+line 1<br>
+line 2<br>
+line 3<br>
+line 4<br>
+line 5<br>
+</div>
+</div>
+testing testing testing testing testing