Closed Bug 1717878 Opened 3 years ago Closed 3 years ago

[XFA] A table is displayed on 2 pages and its alignment is broken

Categories

(Firefox :: PDF Viewer, defect, P1)

Desktop
All
defect

Tracking

()

VERIFIED FIXED
Tracking Status
firefox90 --- disabled
firefox91 --- verified

People

(Reporter: danibodea, Assigned: calixte)

References

Details

Attachments

(2 files)

Note

  • When the user loads a specific PDF file in Adobe Reader and then in Nightly and compares pages 2-3, he will notice that a table is incorrectly displayed on both pages and also shows alignment issues.

Affected versions

  • Nightly v91.0a1

Affected platforms

  • all

Preconditions

  • Flip the "pdfjs.enableXfa" pref to true.

Steps to reproduce

  1. Launch browser.
  2. Load the attached PDF file.
  3. Scroll to pages 2-3.

Expected result

  • A table is displayed on page 2 and its alignment is correct.

Actual result

  • The table is displayed on 2 pages and its alignment is broken.

Regression range

  • Not a regression, but an implementation flaw.

I have to mention that there are other severe alignments and overlapping issues in this PDF. I will not log other issues for them because they are probably caused by the same problem. We will recheck it after a fix.

There are different issues in this pdf and most of them are fixed upstream.
But there are some layout issues due to the use of the deprecated break element (which has been replaced by breakAfter and breakBefore).

Assignee: nobody → cdenizet
Status: NEW → ASSIGNED
Depends on: 1718101

Still reproducible.

Priority: -- → P1

Could you link to the PR where you fixed this?

Flags: needinfo?(cdenizet)

Mozregression results when attempting to find fix:

2021-07-08T17:19:19.590000: DEBUG : Found commit message:
Bug 1719380 - Update pdf.js to version 2.10.263 r=pdfjs-reviewers,marco

Differential Revision: https://phabricator.services.mozilla.com/D119237

2021-07-08T17:19:19.590000: DEBUG : Did not find a branch, checking all integration branches
2021-07-08T17:19:19.592000: INFO : The bisection is done.
2021-07-08T17:19:19.594000: INFO : Stopped

Please set the status accordingly. Thank you.

QA Whiteboard: [pdf_xfa_generic]
Status: ASSIGNED → RESOLVED
Closed: 3 years ago
Depends on: 1719380
Resolution: --- → FIXED
Status: RESOLVED → VERIFIED
Flags: needinfo?(cdenizet)
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: