Closed Bug 1716816 Opened 3 years ago Closed 3 years ago

Text field from "Etiquetas con código de barras" section have black color.

Categories

(Firefox :: PDF Viewer, defect, P1)

Firefox 91
Desktop
All
defect

Tracking

()

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

People

(Reporter: rpopovici, Assigned: calixte)

References

Details

Attachments

(4 files)

Tested with:
Nightly 91.0a1 (2021-06-16)

Tested on:
Win 10

Preconditions:
In about:config, set pdfjs.enableXfa = true

Steps:

  1. Launch firefox
  2. Open the attached pdf.

Actual result:
Text field from "Etiquetas con código de barras" section have black color.

Expected result:
Text field from "Etiquetas con código de barras" section should have the same color as the other text fields. See screesnhot.

Attached image Nightly91.png
Attached image AdobeReader.png
No longer depends on: 1716809

This might be fixed in the next release of PDF.js.
Calixte, do you want to add it to the reftests?

Flags: needinfo?(cdenizet)
Priority: -- → P1
Depends on: 1717132

This should now be fixed, Ralu can you verify?

Flags: needinfo?(raluca.popovici)

I can confirm that this issue no longer occurs in Nightly v91.0a1, 20210618092056.
It might also be important to notice that the PDF itself may be broken in some way because Adobe Reader also displays an input box for the "Etiquetas con código de barras" section, but it is not focusable.
@Calixte: Please set the status accordingly. Thanks!

Flags: needinfo?(raluca.popovici)

About the focusable issue, a patch is in review:
https://github.com/mozilla/pdf.js/pull/13595
where I added the file in reftests suite.

Assignee: nobody → cdenizet
Status: NEW → ASSIGNED
Flags: needinfo?(cdenizet)

I've opened bug 1717400 for the focus issue.

Status: ASSIGNED → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
See Also: → 1717400

Verified the fix of the original issue.

Status: RESOLVED → VERIFIED
OS: Windows 10 → All
See Also: → 1718735
QA Whiteboard: [pdf_xfa_generic]
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: