vivliostyle / vivliostyle.js

📖 The power of CSS typesetting, right at your fingertips.
https://vivliostyle.org
GNU Affero General Public License v3.0
606 stars 53 forks source link

Table header repeat not working in some case #1294

Open MurakamiShinyu opened 8 months ago

MurakamiShinyu commented 8 months ago

Test sample: thead-test.html

Test with Vivliostyle Viewer (v2.27.0): https://vivliostyle.github.io/viewer/v2.27.0/#src=https://gist.githack.com/MurakamiShinyu/fff1ac1c7c65080544e4862ecc67dbef/raw/thead-test.html

Screenshot:

Screenshot 2024-03-02 2 07 28

The "Table 1 Header" should be repeated on the second page, but is not repeated.

This problem does not happen if the Table 2 without Header is removed:

Screenshot 2024-03-02 2 17 15

EnochGao commented 6 months ago

The second header disappears when a td has a large amount of data. image

demo.txt

MurakamiShinyu commented 6 months ago

@EnochGao Thanks for adding your sample! Page breaking processing in tables needs some fixing.