Closed Bug 1955018 Opened 1 year ago Closed 1 year ago

Calculator: Make Formatting Rules Consistent for Negative Numbers

Categories

(Firefox :: Address Bar, enhancement)

enhancement

Tracking

()

VERIFIED FIXED
138 Branch
Tracking Status
firefox137 --- verified
firefox138 --- verified

People

(Reporter: yazan, Assigned: yazan)

References

Details

Attachments

(2 files)

The changes on 1953073 should apply to negative numbers as well

Attachment #9473062 - Flags: approval-mozilla-beta?

beta Uplift Approval Request

  • User impact if declined: Incosistent formatting for negative numbers
  • Code covered by automated testing: yes
  • Fix verified in Nightly: no
  • Needs manual QE test: yes
  • Steps to reproduce for manual QE testing: Ensure negative calculator results follow the same formatting rules as positive results
  • Risk associated with taking this patch: Low
  • Explanation of risk level: Limited to calculator result formatting
  • String changes made/needed: N/A
  • Is Android affected?: no
Flags: qe-verify+
Pushed by yalmacki@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/55fa48248f8b Make calculator formatting consistent for negative numbers. r=jteow,urlbar-reviewers
Status: NEW → RESOLVED
Closed: 1 year ago
Resolution: --- → FIXED
Target Milestone: --- → 138 Branch
Attachment #9473062 - Flags: approval-mozilla-beta? → approval-mozilla-beta+
QA Whiteboard: [qa-triaged]

I was able to reproduce this issue on an affected Nightly build (2025-03-19) on Windows 10.
After testing the latest Nightly (20250321040811) on Windows 10, Windows 11, macOS 11, and Ubuntu 22, I can confirm that the issue has been resolved. The calculator now applies consistent formatting to negative numbers, ensuring they follow the same rules as positive numbers. The results are displayed correctly and no inconsistencies were observed.

Leaving this bug open until Monday when the official beta build becomes available for further testing.

Verified as fixed on Firefox 137.0b9 (20250321113016) using Windows 10, Windows 11, macOS 11, and Ubuntu 22.

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

Attachment

General

Created:
Updated:
Size: