Closed Bug 1481949 Opened 6 years ago Closed 6 years ago

Convert <radiogroup> to a Custom Element

Categories

(Toolkit :: UI Widgets, task, P3)

task

Tracking

()

RESOLVED FIXED
mozilla64
Tracking Status
firefox64 --- fixed

People

(Reporter: bgrins, Assigned: bgrins)

References

(Blocks 1 open bug)

Details

Attachments

(3 files, 1 obsolete file)

Once we can implement nsIDOMXULSelectControlElement and nsIDOMXULControlElement (Bug 1478372), this looks like a relatively simple binding to convert:

- https://bgrins.github.io/xbl-analysis/tree/#radiogroup
- Used features: resources (1), property (6), field (1), handler (8), method (6), constructor (1)
- Selectors: radiogroup (content/xul.css)
Component: XUL → XUL Widgets
Product: Core → Toolkit
Priority: -- → P3
Comment on attachment 9010439 [details]
Bug 1481949 - Migrate <radiogroup> to a Custom Element;r=timdream

Tim Guan-tin Chien [:timdream] (please needinfo) has approved the revision.
Attachment #9010439 - Flags: review+
Attachment #9010438 - Attachment is obsolete: true
Assignee: nobody → bgrinstead
Status: NEW → ASSIGNED
They are unnecessary for most every element, and we load multiple dummy.xul
documents even in clean profiles.
Comment on attachment 9012656 [details]
Bug 1481949 - Don't load Custom Element script files for dummy.xul windows;r=kmag

Kris Maglione [:kmag] has approved the revision.
Attachment #9012656 - Flags: review+
Blocks: 1495252
This removes support for having a child radiogroup within another radiogroup, but that
behavior is undocumented and unused in tree.
Comment on attachment 9013176 [details]
Bug 1481949 - Use querySelectorAll instead of a treeWalker for finding radios underneath a radiogroup;r=timdream

Tim Guan-tin Chien [:timdream] (please needinfo) has approved the revision.
Attachment #9013176 - Flags: review+
Pushed by bgrinstead@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/96cb7281e630
Don't load Custom Element script files for dummy.xul windows;r=kmag
https://hg.mozilla.org/integration/autoland/rev/b82060ff3299
Migrate <radiogroup> to a Custom Element;r=timdream
https://hg.mozilla.org/integration/autoland/rev/05e791fb2c6b
Use querySelectorAll instead of a treeWalker for finding radios underneath a radiogroup;r=timdream
Blocks: 1495861
Depends on: 1495946
Depends on: 1496425
Depends on: 1501845
Depends on: 1517101
Type: enhancement → task
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: