From 9c891bead8c14af0aa2fd10f74275e35af87b16c Mon Sep 17 00:00:00 2001 From: Nils Jeisecke Date: Mon, 22 Jul 2019 19:06:34 +0200 Subject: QTextDocument: add manual test for table border logic This adds a manual test for the QTextTable border logic. Two HTML files are bundled as resources: table-border-test.html: Contains various test cases for the border logic. table-border-test-header.html: Contains a test case for printing a table with a repeated header. The test application allows: - editing - previewing - printing - opening the HTML in the system browser (via temp. file) It is possible to edit the HTML with "live preview" so new test cases can easily be implemented. Change-Id: Ic88488bc8b7dd74d5c03c3363f55840423462325 Reviewed-by: Shawn Rutledge --- .../table-border-test-header.html | 129 +++++++++++++++++++++ 1 file changed, 129 insertions(+) create mode 100644 tests/manual/qtexttableborders/table-border-test-header.html (limited to 'tests/manual/qtexttableborders/table-border-test-header.html') diff --git a/tests/manual/qtexttableborders/table-border-test-header.html b/tests/manual/qtexttableborders/table-border-test-header.html new file mode 100644 index 0000000000..cb29d0a41d --- /dev/null +++ b/tests/manual/qtexttableborders/table-border-test-header.html @@ -0,0 +1,129 @@ + + + +

Printable table with repeated header

+ +

+ Please print (to PDF, save the trees) this table and compare this to the + print results of Chrome/Firefox. +

+

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Header AHeader B
Cell ACell B
Cell ACell B
Cell ACell B
Cell ACell B
Cell ACell B
Cell ACell B
Cell ACell B
Cell ACell B
Cell ACell B
Cell ACell B
Cell ACell B
Cell ACell B
Cell ACell B
Cell ACell B
Cell ACell B
Cell ACell B
Cell ACell B
Cell ACell B
Cell ACell B
Cell ACell B
Cell ACell B
Cell ACell B
Cell ACell B
Cell ACell B
Cell ACell B
Cell ACell B
Cell ACell B
Cell ACell B
Cell ACell B
Cell ACell B
Cell ACell B
Cell ACell B
Cell ACell B
Cell ACell B
Cell ACell B
Cell ACell B
Cell ACell B
Cell ACell B
Cell ACell B
Cell ACell B
Cell ACell B
Cell ACell B
Cell ACell B
Cell ACell B
Cell ACell B
Cell ACell B
Cell ACell B
Cell ACell B
Cell ACell B
Cell ACell B
Cell ACell B
Cell ACell B
Cell ACell B
Cell ACell B
Cell ACell B
Cell ACell B
Cell ACell B
Cell ACell B
Cell ACell B
Cell ACell B
Cell ACell B
Cell ACell B
Cell ACell B
Cell ACell B
Cell ACell B
Cell ACell B
Cell ACell B
Cell ACell B
Cell ACell B
Cell ACell B
Cell ACell B
Cell ACell B
Cell ACell B
Cell ACell B
Cell ACell B
Cell ACell B
Cell ACell B
Cell ACell B
Cell ACell B
Cell ACell B
Cell ACell B
Cell ACell B
Cell ACell B
Cell ACell B
Cell ACell B
Cell ACell B
Cell ACell B
Cell ACell B
Cell ACell B
Cell ACell B
Cell ACell B
Cell ACell B
Cell ACell B
Cell ACell B
Cell ACell B
Cell ACell B
Cell ACell B
Cell ACell B
Cell ACell B
Cell ACell B
Cell ACell B
+ + + -- cgit v1.2.3