1
0
Fork 0
mirror of https://github.com/mozilla/pdf.js.git synced 2025-04-22 16:18:08 +02:00

Merge pull request #13534 from calixteman/missing_page

XFA - Flush contents when breakBefore target is 'auto'
This commit is contained in:
Brendan Dahl 2021-06-10 13:17:20 -07:00 committed by GitHub
commit a3b0596cf2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 13 additions and 2 deletions

View file

@ -4540,8 +4540,10 @@ class Template extends XFAObject {
this[$extra].breakingNode = null;
if (node.targetType === "auto") {
// Just ignore the break and do layout again.
i--;
html = root[$flushHTML]();
if (html) {
htmlContentAreas[i].children.push(html);
}
continue;
}