[XFA] Input field is incorrectly displayed as a scrollable field
Categories
(Firefox :: PDF Viewer, defect, P2)
Tracking
()
People
(Reporter: danibodea, Unassigned)
References
(Depends on 1 open bug)
Details
(Whiteboard: [pdfjs-form-xfa])
Attachments
(3 files, 1 obsolete file)
Note
- When the user loads a specific PDF file, he will notice that the "Background" input field is incorrectly displayed as a scrollable field.
Affected versions
- Nightly v91.0a1
Affected platforms
- all
Preconditions
- Flip the "pdfjs.enableXfa" pref to true.
Steps to reproduce
- Launch browser.
- Load the attached PDF file.
- Observe the "Background" field.
Expected result
- Only one text line is displayed and it is scrollable.
Actual result
- All text lines are displayed and it is not scrollable.
Regression range
- Not a regression, but an implementation fault.
Reporter | ||
Comment 1•3 years ago
|
||
Updated•3 years ago
|
Comment 2•3 years ago
|
||
Comment 3•3 years ago
|
||
The pdf is not displayed using upstream pdf.js and the patch above aims to fix that.
Anyway something is still wrong when binding because of xml data in datasets
without any namespace which should interpreted as xhtml
.
So I think that before trying to bind we must know the type of the node in the template in order to guess that the value may be some xhtml
.
Reporter | ||
Comment 4•3 years ago
|
||
This bug is blocked by bug 1723114, a regression.
Updated•3 years ago
|
Reporter | ||
Comment 5•3 years ago
|
||
This issue 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
But it created a worse rendering of another field: bug 1727377.
Please close this one as such. Thanks.
Reporter | ||
Updated•3 years ago
|
Updated•3 years ago
|
Reporter | ||
Comment 6•3 years ago
|
||
I can't verify this fix until its dependency is also verified.
Updated•3 years ago
|
Updated•3 years ago
|
Description
•