Closed Bug 1716344 Opened 3 years ago Closed 3 years ago

Lines and text are missing on high contrast

Categories

(Firefox :: PDF Viewer, defect, P3)

Firefox 91
Desktop
Windows
defect

Tracking

()

RESOLVED WORKSFORME
Accessibility Severity s2
Tracking Status
firefox90 --- disabled
firefox91 --- fixed
firefox92 --- fixed

People

(Reporter: rpopovici, Unassigned)

References

Details

(Keywords: access)

Attachments

(2 files)

Attached image 2021-06-14_14h48_33.png

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

Tested on:
Win 10

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

Steps:

  1. Turn on the Hight Contrast(White/Black) on your system
  2. Launch firefox
  3. Open the following pdf: https://bug1671648.bmoattachments.org/attachment.cgi?id=9182033

Actual result:
Few lines of the table and date format text of the form are missing with hight contrast white.
On High Contrast Black is more difficult to read the text.

Expected result:
The lines of the table/date format text of the form should be properly displayed on high contrast high mode
The text should be readable on High Contrast Black mode

Attached image 2021-06-14_14h50_29.png
No longer depends on: 1716293
Blocks: 1716349
No longer blocks: 1716349
Priority: -- → P3
See Also: → 1716349

This issue occurs just the same in Windows 7 while it does not occur in Mac OS 11.4 or Ubuntu 20.

Keywords: access
OS: Windows 10 → Windows
QA Whiteboard: [pdf_xfa_generic]

This might have to do with backplating -- does the issue change/resolve if you set browser.display.permit_backplate to false in about:config?

Flags: needinfo?(raluca.popovici)
Whiteboard: [access-s2]

(In reply to Morgan Reschenberg [:morgan] from comment #3)

This might have to do with backplating -- does the issue change/resolve if you set browser.display.permit_backplate to false in about:config?

No, disabling that pref will make it worse when using High Contrast Black: All text disappears and about the same when using High Contrast White.

Flags: needinfo?(raluca.popovici)

Is this fixed on Nightly Dani?

Flags: needinfo?(daniel.bodea)

The render of the attached PDF is considerably better in Nightly v92.0a1 from 2021-08-02, but it still shows minor issues with missing borders or partialy displayed text. So minor that I will choose to ignore them. The PDF is now aesthetic.

It appears that more releases has influenced how the PDF renders in High Contrast White:

  1. most of the missing borders and cut text has started being displayed after:
    Bug 1719380 - Update pdf.js to version 2.10.263 r=pdfjs-reviewers,marco
    Differential Revision: https://phabricator.services.mozilla.com/D119237
  2. Some more of the missing borders and a highlight for the input fields:
    Bug 1722768 - Update pdf.js to version 2.11.22 r=pdfjs-reviewers,marco
    Differential Revision: https://phabricator.services.mozilla.com/D121125

It is the same for both Win10 and Win7.
Please set this bug as fixed.

Flags: needinfo?(daniel.bodea) → needinfo?(emilio)
Status: NEW → RESOLVED
Closed: 3 years ago
Flags: needinfo?(emilio)
Resolution: --- → WORKSFORME
Accessibility Severity: --- → s2
Whiteboard: [access-s2]
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: