diff options
Diffstat (limited to 'test')
-rwxr-xr-x | test/js/run_js_tests.sh | 2 | ||||
-rw-r--r-- | test/layout/float-height-in-table.expected | 3 | ||||
-rw-r--r-- | test/layout/float-height-in-table.html | 8 | ||||
-rwxr-xr-x | test/layout/run_layout_tests.sh | 2 |
4 files changed, 13 insertions, 2 deletions
diff --git a/test/js/run_js_tests.sh b/test/js/run_js_tests.sh index a8cad435..8e1adeb3 100755 --- a/test/js/run_js_tests.sh +++ b/test/js/run_js_tests.sh @@ -1,6 +1,6 @@ #!/bin/sh if ! test "$CHA_TEST_BIN" -then test -f ../../../cha && CHA_TEST_BIN=../../../cha || CHA_TEST_BIN=cha +then test -f ../../cha && CHA_TEST_BIN=../../cha || CHA_TEST_BIN=cha fi failed=0 for h in *.html diff --git a/test/layout/float-height-in-table.expected b/test/layout/float-height-in-table.expected new file mode 100644 index 00000000..de4d7b4d --- /dev/null +++ b/test/layout/float-height-in-table.expected @@ -0,0 +1,3 @@ + first first first first first + second second second second second second second second second second second + second second second second second second second second second diff --git a/test/layout/float-height-in-table.html b/test/layout/float-height-in-table.html new file mode 100644 index 00000000..15d68abb --- /dev/null +++ b/test/layout/float-height-in-table.html @@ -0,0 +1,8 @@ +<!DOCTYPE html> +<table> +<tr> +<td><div style="float: right">first first first first first</div> +</td> +</tr> +<tr> +<td>second second second second second second second second second second second second second second second second second second second second diff --git a/test/layout/run_layout_tests.sh b/test/layout/run_layout_tests.sh index 03c9c818..6a6c7e4f 100755 --- a/test/layout/run_layout_tests.sh +++ b/test/layout/run_layout_tests.sh @@ -1,6 +1,6 @@ #!/bin/sh if test -z "$CHA_TEST_BIN" -then test -f ../../../cha && CHA_TEST_BIN=../../../cha || CHA_TEST_BIN=cha +then test -f ../../cha && CHA_TEST_BIN=../../cha || CHA_TEST_BIN=cha fi failed=0 for h in *.html |