-
-
Notifications
You must be signed in to change notification settings - Fork 710
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
Added test & patch for floating images page break #183
Conversation
Hi, thanks for contributing! This seems like a good idea, I hadn’t thought about it. Before this merged, please fix a few issues:
|
Hi, I've added a test case for floats taller than the page and a check for page_is_empty / new_children |
Looks good, thanks! (There is still some trailing whitespace, but I’ll fix that.) |
Added test & patch for floating images page break
I have a test page which contain a parapgraph with a floating image. With weasyprint v 0.23 the picture is printed partially outside of the printable area. The page-break what not OK |
This patch fixes the floating image problem when they overflow at the bottom of the page.
It doesn't seem to break any other test.