diff options
author | bptato <nincsnevem662@gmail.com> | 2024-04-27 17:17:48 +0200 |
---|---|---|
committer | bptato <nincsnevem662@gmail.com> | 2024-04-27 17:17:48 +0200 |
commit | d8679af92bf88896a033238a1b0bea0648632b4c (patch) | |
tree | 90679172a6138b2081a9d6e6f62fe2d2670604fb /test | |
parent | dfc0b6c73f263876c10e56aee18e8ecabd1465c3 (diff) | |
download | chawan-d8679af92bf88896a033238a1b0bea0648632b4c.tar.gz |
layout: fix float size in table cells; remove redundant positioning
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 |