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/new-bfc-clears-floats.expected4
-rw-r--r--test/layout/new-bfc-clears-floats.html6
2 files changed, 10 insertions, 0 deletions
diff --git a/test/layout/new-bfc-clears-floats.expected b/test/layout/new-bfc-clears-floats.expected
new file mode 100644
index 00000000..876d665a
--- /dev/null
+++ b/test/layout/new-bfc-clears-floats.expected
@@ -0,0 +1,4 @@
+left                                                                       right
+testing
+left                                                                       right
+testing
diff --git a/test/layout/new-bfc-clears-floats.html b/test/layout/new-bfc-clears-floats.html
new file mode 100644
index 00000000..ce81c7e1
--- /dev/null
+++ b/test/layout/new-bfc-clears-floats.html
@@ -0,0 +1,6 @@
+<div style="float: left">left</div>
+<div style="float: right">right</div>
+<div style="clear: both"><div style="display: flow-root">testing</div></div>
+<div style="float: left">left</div>
+<div style="float: right">right</div>
+<div style="clear: both; display: flow-root">testing</div>