Closed Bug 1894487 Opened 5 months ago Closed 4 months ago

Add icon support to moz-checkbox

Categories

(Toolkit :: UI Widgets, task)

task

Tracking

()

RESOLVED FIXED
128 Branch
Tracking Status
firefox128 --- fixed

People

(Reporter: mstriemer, Assigned: mstriemer)

References

(Blocks 1 open bug)

Details

(Whiteboard: [recomp])

Attachments

(1 file)

The moz-checkbox component should support an icon to be shown between the checkbox and the label. This icon can be set by providing an icon URL to the iconsrc attribute (property name iconSrc)

<moz-checkbox label="Show History button" iconsrc="chrome://browser/skin/history.svg"></moz-checkbox>
Whiteboard: [recomp]

This is essentially the changes from hjones' patch for moz-radio in
Bug 1894501 but with radio references replaced with checkbox.

Assignee: nobody → mstriemer
Status: NEW → ASSIGNED
Pushed by mstriemer@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/057a53249ab4
Support iconSrc on moz-checkbox r=reusable-components-reviewers,hjones
Status: ASSIGNED → RESOLVED
Closed: 4 months ago
Resolution: --- → FIXED
Target Milestone: --- → 128 Branch
Blocks: 1901866
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: