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:
commit
a3b0596cf2
3 changed files with 13 additions and 2 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue