Closed Bug 1811694 Opened 1 year ago Closed 1 year ago

PDF forms issue with numbers starting with zero

Categories

(Firefox :: PDF Viewer, defect, P1)

Firefox 109
defect

Tracking

()

VERIFIED FIXED
111 Branch
Tracking Status
firefox-esr102 --- unaffected
firefox109 --- wontfix
firefox110 --- wontfix
firefox111 --- verified
firefox112 --- verified

People

(Reporter: jloretto70, Assigned: calixte)

References

(Regression)

Details

(Keywords: regression)

Attachments

(2 files)

User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:109.0) Gecko/20100101 Firefox/109.0

Steps to reproduce:

Attempted to fill out IRS form W-9 in Firefox 109.0 (Linux vanilla Mozilla build).

Form located at: https://www.irs.gov/pub/irs-pdf/fw9.pdf

Enter a social security number under "Part I" that has leading zeros in one or more sections. Fake example number: "023-45-0789".

Actual results:

The leading zeros are dropped when tabbing to the next field. Applies to all three parts of the social security number field. Resulting number displayed after entering "023-45-0789" is "23-45-789".

Expected results:

The leading zeros in these fields should have been retained. The only workaround is to use the letter "O" instead of "0" (zero).

The Bugbug bot thinks this bug should belong to the 'Core::Layout: Form Controls' component, and is moving the bug to that component. Please correct in case you think the bot is wrong.

Component: Untriaged → Layout: Form Controls
Product: Firefox → Core

mozregression points to Bug 1803630 - Update PDF.js to 6e4968225e3e4901ef08e47d2787c8d0afb72df7

Component: Layout: Form Controls → PDF Viewer
Product: Core → Firefox
Assignee: nobody → cdenizet
Severity: -- → S3
Status: UNCONFIRMED → ASSIGNED
Ever confirmed: true
Priority: -- → P1
Status: ASSIGNED → RESOLVED
Closed: 1 year ago
Regressed by: 1803630
Resolution: --- → FIXED
Target Milestone: --- → 111 Branch
Flags: qe-verify+

Reproducible on a 2023-01-25 Nightly build on Windows 11.
Verified as fixed on Firefox 111.0b7(build ID: 20230228190024) and Nightly 112.0a1(build ID: 20230301225323) on Windows 11, macOS 12, Ubuntu 22.
Zeroes are now retained in the form.

Status: RESOLVED → VERIFIED
Flags: qe-verify+
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: