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/float-text-align-right.color.expected2
-rw-r--r--test/layout/float-text-align-right.html4
-rw-r--r--test/layout/inline_split_sizes.color.expected16
-rwxr-xr-xtest/layout/run_layout_tests.sh1
4 files changed, 15 insertions, 8 deletions
diff --git a/test/layout/float-text-align-right.color.expected b/test/layout/float-text-align-right.color.expected
new file mode 100644
index 00000000..bcb22cf8
--- /dev/null
+++ b/test/layout/float-text-align-right.color.expected
@@ -0,0 +1,2 @@
+float float float                                                      testfloat
+
diff --git a/test/layout/float-text-align-right.html b/test/layout/float-text-align-right.html
new file mode 100644
index 00000000..3c0f3c25
--- /dev/null
+++ b/test/layout/float-text-align-right.html
@@ -0,0 +1,4 @@
+<div style="text-align: right">
+<div style="float: right; background-color: red">float</div>
+<div style="float: left; background-color: red">float float float</div>
+test
diff --git a/test/layout/inline_split_sizes.color.expected b/test/layout/inline_split_sizes.color.expected
index dafbf438..636edd8a 100644
--- a/test/layout/inline_split_sizes.color.expected
+++ b/test/layout/inline_split_sizes.color.expected
@@ -1,9 +1,9 @@
-        
-before t
-
-carthago delenda
-             
-          est
-     
-hello after
+
+before t
+
+carthago delenda
+
+          est
+
+hello after
 
diff --git a/test/layout/run_layout_tests.sh b/test/layout/run_layout_tests.sh
index 2e2bfa7b..20b85ce1 100755
--- a/test/layout/run_layout_tests.sh
+++ b/test/layout/run_layout_tests.sh
@@ -20,4 +20,5 @@ do	printf '%s\r' "$h"
 	else	printf 'WARNING: expected file not found for %s\n' "$h"
 	fi
 done
+printf '\n'
 exit "$failed"