From d8679af92bf88896a033238a1b0bea0648632b4c Mon Sep 17 00:00:00 2001 From: bptato Date: Sat, 27 Apr 2024 17:17:48 +0200 Subject: layout: fix float size in table cells; remove redundant positioning --- test/js/run_js_tests.sh | 2 +- test/layout/float-height-in-table.expected | 3 +++ test/layout/float-height-in-table.html | 8 ++++++++ test/layout/run_layout_tests.sh | 2 +- 4 files changed, 13 insertions(+), 2 deletions(-) create mode 100644 test/layout/float-height-in-table.expected create mode 100644 test/layout/float-height-in-table.html (limited to 'test') 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 @@ + + + + + + +
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/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 -- cgit 1.4.1-2-gfad0