Closed Bug 2000343 Opened 1 month ago Closed 12 days ago

moz-radio-group reacts to keypress when focus is not on a child moz-radio

Categories

(Toolkit :: UI Widgets, defect, P3)

defect

Tracking

()

RESOLVED FIXED
148 Branch
Tracking Status
firefox148 --- fixed

People

(Reporter: mstriemer, Assigned: mstriemer)

References

Details

(Whiteboard: [recomp])

Attachments

(1 file)

The contrast controls in about:preferences have a radio group with a nested button in one of the radios. Focusing that button and pressing up or down will change the value of the parent radio group, but it shouldn't.

With the patch from bug 1972360 applied:

  1. Focus the Color contrast radio group
  2. Press down to select "Custom"
  3. Press tab to focus Manage Colors... button
  4. Press up

Expected results: The page scrolls a little
Actual results: To Color contrast setting changes to Off

Assignee: nobody → mstriemer
Status: NEW → ASSIGNED
Pushed by chorotan@mozilla.com: https://github.com/mozilla-firefox/firefox/commit/11d4b58923f0 https://hg.mozilla.org/integration/autoland/rev/b0cebcbaad1c Revert "Bug 2000343, Bug 1972360, Bug 1972367 - Ignore keypress from nested children in SelectControlBaseElement r=hjones" for causing chrome failures in test_moz_fieldset.html

Backed out for causing chrome failures in test_moz_fieldset.html

Backout link

Push with failures

Failure log

Flags: needinfo?(mstriemer)
Status: ASSIGNED → RESOLVED
Closed: 12 days ago
Resolution: --- → FIXED
Target Milestone: --- → 148 Branch
Flags: needinfo?(mstriemer)
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: