Closed Bug 1902674 Opened 9 months ago Closed 9 months ago

The radio buttons in moz-radio are misaligned on Windows

Categories

(Toolkit :: UI Widgets, task, P3)

task

Tracking

()

RESOLVED FIXED
129 Branch
Tracking Status
firefox129 --- fixed

People

(Reporter: tgiles, Assigned: aroy, Mentored)

References

(Blocks 1 open bug)

Details

(Keywords: good-first-bug, Whiteboard: [recomp] [lang=css])

Attachments

(1 file)

Due to HTML input elements on Windows using the "MS Shell Dlg 2" virtual font and our styles using lh, the radio buttons are slightly misaligned on Windows. This can easily be fixed by using font-family: inherit in the input styles for this component.

To help Mozilla out with this bug, here's the steps:

  1. Comment here on the bug that you want to volunteer to help.
    This will tell others that you're working on the next steps.
  2. Download and build the Firefox source code
    • If you have any problems, please ask on Element/Matrix in the #introduction channel. They're there to help you get started.
  3. Start working on this bug.
    • You will need to add font-family: inherit in this input selector rule
    • If you have any problems with this bug, please comment on this bug and set the needinfo flag for me. Also, you can find me and my teammates on the #reusable-components channel on Element/Matrix most hours of most days.
  4. Build your change with mach build and test your change with mach storybook and checking the alignment in the radio story. Also check your changes for adherence to our style guidelines by using mach lint.
  5. Submit the patch (including an automated test, if applicable) for review. Mark me as a reviewer so I'll get an email to come look at your code.
  6. After a series of reviews and changes to your patch, I'll push it to autoland.
Mentor: tgiles
Keywords: good-first-bug
Whiteboard: [recomp] → [recomp] [lang=css]
Assignee: nobody → babu.anandroy
Status: NEW → ASSIGNED

Hi Tim, please review my patch

Attachment #9407696 - Attachment description: Bug 1902674 - The radio buttons in moz-radio are misaligned on Windows. r=tgiles → Bug 1902674 - Fix alignment of radio buttons in moz-radio button on Windows. r=tgiles
Pushed by tgiles@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/f8a10f964358 Fix alignment of radio buttons in moz-radio button on Windows. r=tgiles,reusable-components-reviewers
Status: ASSIGNED → RESOLVED
Closed: 9 months ago
Resolution: --- → FIXED
Target Milestone: --- → 129 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: