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 #13502 from calixteman/contentarea

XFA - contentarea must be on top of the other containers in a pageArea
This commit is contained in:
Brendan Dahl 2021-06-09 12:36:21 -07:00 committed by GitHub
commit aa2712744d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 11 additions and 4 deletions

View file

@ -3304,7 +3304,14 @@ class PageArea extends XFAObject {
}
this[$childrenToHTML]({
filter: new Set(["area", "draw", "field", "subform", "contentArea"]),
filter: new Set(["area", "draw", "field", "subform"]),
include: true,
});
// contentarea must be the last container to be sure it is
// on top of the others.
this[$childrenToHTML]({
filter: new Set(["contentArea"]),
include: true,
});