-
-
Notifications
You must be signed in to change notification settings - Fork 696
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
Crash when rendering position absolute display flex element due to non-iterable PageBox #1536
Comments
Due to the amount of refactoring that went on that file, I am somewhat astray on how this should be addressed. I'd need a fair amount of guidance to contribute any kind of patch. I hope the posted html snippet aids to increase the test suite nonetheless. |
Hello! Thanks for the bug report, and thanks a lot for the snippet! The bug was caused by the refactoring, and by these stupid |
I have just installed today and it still have the bug. When are you going to update .whl @liZe @grewn0uille ? |
Soon :) |
Using the example cli cmd from the docs:
|
The recent update of weasyprint 54 raises an exception when rendering many of my templates due to the usage of absolute flex elements.
I think this html
is enough to reproduce the issue.
AFAIU this changes f5d6d54#diff-3c982105b0ba6decc90731974c5bf2d4f37f0656b1ab8267bedecdf2e3d054d5 in the layout/absolute.py file might be the culprit of the issue: the parameters
containing_block
andcontaining_block_sizes
were swapped in theabsolute_flex
function definition but not its call fromabsolute_box_layout
function (this is where the traces are coming from)Edit: phrasing
The text was updated successfully, but these errors were encountered: