[XFA] Text is missing; only the first paragraph is displayed
Categories
(Firefox :: PDF Viewer, defect, P2)
Tracking
()
People
(Reporter: danibodea, Assigned: calixte)
References
Details
(Keywords: regression)
Attachments
(2 files)
Note
- When the user loads a specific PDF he will notice that all text is missing.
Affected versions
- Nightly v92.0a1
Affected platforms
- all
Steps to reproduce
- Launch browser.
- Flip the pdfjs.enableXfa to true.
- Load the attached PDF file.
Expected result
- Text is displayed.
Actual result
- All text is missing.
Regression range
- This is a regression:
Bug 1720361 - Update pdf.js to version 2.10.316 r=pdfjs-reviewers,calixte
Differential Revision: https://phabricator.services.mozilla.com/D119800
2021-07-23T12:22:39.631000: DEBUG : Did not find a branch, checking all integration branches
2021-07-23T12:22:39.633000: INFO : The bisection is done.
| Reporter | ||
Comment 1•4 years ago
|
||
| Assignee | ||
Comment 2•4 years ago
|
||
The xfa:datasets stream contains a xhtml node which needs to be seen as belonging to xhtml namespace in order to build correctly.
So I must add an exception in this patch:
https://github.com/mozilla/pdf.js/commit/3fa319ab0e89846d5fa90514f763449d39515843
which renders namespace-agnostic nodes under datasets and we must handle correctly this node as a all when binding data in template.
| Assignee | ||
Updated•4 years ago
|
Updated•4 years ago
|
Updated•4 years ago
|
| Reporter | ||
Comment 4•4 years ago
|
||
This was fixed by:
Bug 1722768 - Update pdf.js to version 2.11.22 r=pdfjs-reviewers,marco
Differential Revision: https://phabricator.services.mozilla.com/D121125
Please set its status as such. Thank you.
Updated•4 years ago
|
| Reporter | ||
Comment 5•4 years ago
|
||
This fix has been verified on Nightly v93.0a1, Beta v92.0b8, Release v91.0.2 and ESR v91.0.1esr.
| Reporter | ||
Updated•4 years ago
|
Description
•