We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1ffe534 commit 5ae1aabCopy full SHA for 5ae1aab
weasyprint/formatting_structure/boxes.py
@@ -377,10 +377,11 @@ def get_wrapped_table(self):
377
378
def page_values(self):
379
start_value, end_value = super().page_values()
380
+ # TODO: We should find Class A possible page breaks according to
381
+ # https://drafts.csswg.org/css-page-3/#propdef-page
382
+ # Keep only children in normal flow for now.
383
children = [
- c for c in self.children
- if not (c.is_absolutely_positioned() or c.is_running())
- ]
384
+ child for child in self.children if child.is_in_normal_flow()]
385
if children:
386
if len(children) == 1:
387
page_values = children[0].page_values()
0 commit comments