requested to merge issue-245-ignore-impractical-break-inside-avoid-rule into main
The logic is implemented in the chunker. The idea is to:
- create a temporary page,
- add the remaining content,
- check if the content contains an element with the rule
- check if this element will overflow
If that's the case, then we remove the rule
break-inside: avoid and ask Paged.js to "reflow" the previous/current page.
In all cases, we remove the temporary page.