Skip to content
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

Stop generated table frame reflow after paging #3398

Merged
merged 1 commit into from
Feb 26, 2024

Conversation

bsweeney
Copy link
Member

When a generated frame is paged it's children are removed from the frame. If the generated frame is styled display: table the first child will be a table row group. Since table child frames are always expected to be associated with a table this causes an exception.

When a table row group's parent frame is a generated frame and the frame no longer has a parent after paging Dompdf will halt further processing of the frame.

fixes #3334

When a generated frame is paged it's children are removed from the frame. If the generated frame is styled `display: table` the first child will be a table row group. Since table child frames are always expected to be associated with a table this causes an exception.

When a table row group's parent frame is a generated frame and the frame no longer has a parent after paging Dompdf will halt further processing of the frame.

fixes #3334
@bsweeney bsweeney added this to the 3.0.0 milestone Feb 25, 2024
@bsweeney bsweeney merged commit 33bc867 into master Feb 26, 2024
21 checks passed
@bsweeney bsweeney deleted the generated-frame-table branch February 26, 2024 13:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Parent table not found for table row group
1 participant