-
-
Notifications
You must be signed in to change notification settings - Fork 704
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
No bottom cell border drawn, when table cell breaks across pages #2349
Comments
Hi! This is normal: when a box is split between pages, the bottom border is not drawn on the first page, and the top border is not drawn on the second page. If you want to repeat the top/bottom borders on each page, you can set |
Thanks! I knew there was a CSS property for that but couldn't remember it. It looks like it doesn't work in combination with |
I have no idea whether this behavior is specified. Let me check that. |
Thanks for checking 👍 |
I’ve checked, and as far as I can tell, it’s unfortunately not defined. The feature seems to be simple, but it’s not, as it’s easy to find corner cases where the result is far from obvious. So, we won’t implement this feature in WeasyPrint for now. If you’re (or anyone else is) interested in getting this feature, the next step is probably to open an issue on the CSS working group drafts repository and ask if it could be possible to define how |
@JamesHutchison It’s not related. Could you please open a new issue, with a complete example that shows your problem? |
Closing, as it’s not a bug in WeasyPrint, but an undefined behavior. If someone wants to improve the specification and open an issue on the CSS working group’s repositiory, feel free to add a comment so that we can follow! |
Not sure if this is just my lack of CSS knowledge but I expected a bottom border for a table cell that breaks over to the next page, especially when the table header is repeated. The screenshot below shows that now orange border is drawn at the bottom of the page.
Hope the image gives enough context, happy to add a full sample if necessary.
The text was updated successfully, but these errors were encountered: