Open Bug 1495252 Opened 6 years ago Updated 1 year ago

Remove unused [group] support from <radio> and <radiogroup>

Categories

(Toolkit :: UI Widgets, task, P5)

task

Tracking

()

People

(Reporter: bgrins, Unassigned)

References

Details

There's a case we handle where a radiogroup has no children, then we look for radio elements in the DOM with the group attribute set to that radiogroup ID, but that doesn't appear to ever be used outside of tests

- https://searchfox.org/mozilla-central/rev/819cd31a93fd50b7167979607371878c4d6f18e8/toolkit/content/widgets/radio.xml#256-264
- https://searchfox.org/mozilla-central/rev/819cd31a93fd50b7167979607371878c4d6f18e8/toolkit/content/widgets/radio.xml#449-460

I think this'd let us simplify radio.control to do basically: `return this.closest("radiogroup")`
Priority: -- → P5
Type: enhancement → task
No longer blocks: war-on-xbl
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.