Bad parsing for named pages (disappearing content)
In the following example, all the content is put in a named page. On the 6 parts, we can see that the content of 2 disappears. We only have partial content
HTML file: issue-32-wrong.html
Result: issue-32-wrong.pdf
The result we should get: issue-32-correct.pdf
It would seem that if we add the same margin to the @page
rule and the @page <name>
rule, it solves the problem.
(But we must be able to have different margins for the two rules)
HTML file: issue-32-correct.html
Result: issue-32-correct.pdf
Mu assumption is that the script:
- divides the content of all pages according to the size of the page area created from the
@page
rule margins - resizes the page area and margins of named pages according to the
@page <name>
rule - doesn't recalculate content division so we have cut content in named pages