-
-
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
Overflow hidden not working when content is too large to fit in a page. #2026
Comments
Hi! Your input HTML doesn’t correspond to the PDF you provide, and there’s no |
My mistake :( Here is the correct HTML file. Here is the screenshot of CSS & HTML Output Screenshot. |
Thanks for the report! It’s fixed and tested, feedback is welcome! |
Hi @liZe Thanks for the quick reply. I am using the Weasyprint 60.2 version which is the latest I think. Is this fix released in this version or it's planned in an upcoming release (61.0)? If it's not yet released, when can we expect it or is there a way I can use it now? Thanks again! Really appreciate the quick answer. |
It’s planned for 61.0.
You can the current main branch using |
You should use
|
Worked :) Thanks a lot. |
Here is my simple HTML code (added in zip) where there are just two div containers with fixed 100px height and overflow hidden. [Update: correct HTML file added]
html.zip
When I am converting this HTML to PDF using Weasyprint, the first box seems to be fine but I am facing an issue with the second box.
Here is the Output PDF:
out.pdf
Here are the versions.
System: Windows
Machine: AMD64
Version: 10.0.19045
Release: 10
WeasyPrint version: 60.2
Python version: 3.12.1
Pydyf version: 0.8.0
Pango version: 15003
Please help.
The text was updated successfully, but these errors were encountered: