-
-
Notifications
You must be signed in to change notification settings - Fork 713
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
unsupported operand type(s) for -: 'str' and 'float' #1204
Comments
Hello! It’s probably a duplicate of #1006, could you test the current |
Hey :) Thank you for looking into this. I tried with master, it doesn't work either. Please find below sample code that reproduces the problem:
|
It’s fixed! Thanks a lot for the bug report and for the sample. |
Hey @liZe. Thank you. But the PDF conversion isn't correct. The process is not crashing now but the results are off. With the above sample, PFA the generated PDF. |
You’re right, and I’m really sorry for this awful rendering. There’s a problem in the flex layout with percentages. Removing Could you please open another issue with this problem? Thank you. |
I removed the percentages and used pixels. It's better now but still not correct. The right section is rendered below. Nevertheless, I'll file a new issue. |
I' facing an
unsupported operand type(s) for -: 'str' and 'float'
error for the below CSS code;particularly the
height: 100%;
line.Full logs:
The CSS is in the same file.
WeasyPrint version: 51.
The text was updated successfully, but these errors were encountered: