Closed Bug 1412361 Opened 7 years ago Closed 7 years ago

Remove checkbox-baseline and checkbox-radio xbl bindings

Categories

(Toolkit :: Themes, task, P3)

task

Tracking

()

RESOLVED FIXED
mozilla58
Tracking Status
firefox57 --- wontfix
firefox58 --- fixed

People

(Reporter: bgrins, Assigned: mossop)

References

Details

(Whiteboard: [xbl-remove-unused])

Attachments

(1 file)

"checkbox-baseline" is never directly used for desktop - it holds the implementation for "checkbox", and all "checkbox" does is include a stylesheet. We could move the implementation directly into "checkbox". The other reference is in android which uses it to implement a binding called "checkbox-radio", which itself never appears to be used: https://dxr.mozilla.org/mozilla-central/search?q=path%3Aandroid+checkbox.xml AFAICT we can remove both of these bindings
(In reply to Brian Grinstead [:bgrins] from comment #0) > "checkbox-baseline" is never directly used for desktop - it holds the > implementation for "checkbox", and all "checkbox" does is include a > stylesheet. We could move the implementation directly into "checkbox". > > The other reference is in android which uses it to implement a binding > called "checkbox-radio", which itself never appears to be used: > https://dxr.mozilla.org/mozilla-central/search?q=path%3Aandroid+checkbox.xml This was added in Bug 485381 (!), which predates Native Fennec by a long way. Burn it with fire!
Priority: -- → P3
Assignee: nobody → dtownsend
Whiteboard: [xbl-remove-unused]
Attachment #8924650 - Flags: review?(nalexander)
Comment on attachment 8924650 [details] Bug 1412361: Remove unused XBL checkbox-baseline and checkbox-radio. https://reviewboard.mozilla.org/r/195886/#review201574 This makes sense to me! ::: mobile/android/chrome/content/bindings/checkbox.xml:12 (Diff revision 2) > - </body> > - </method> > - </implementation> > - </binding> > - > <binding id="checkbox-with-spacing" As discussed on IRC, it looks like this can go too, and with it all the `<checkbox>` styling in `m/a/chrome/content/aboutAddons.css`. Your choice if that's a part 2 on this ticket or a follow-up ticket.
Attachment #8924650 - Flags: review?(nalexander) → review+
Comment on attachment 8924650 [details] Bug 1412361: Remove unused XBL checkbox-baseline and checkbox-radio. https://reviewboard.mozilla.org/r/195886/#review201574 > As discussed on IRC, it looks like this can go too, and with it all the `<checkbox>` styling in `m/a/chrome/content/aboutAddons.css`. Your choice if that's a part 2 on this ticket or a follow-up ticket. I'm going to take care of this in bug 1414406
Pushed by dtownsend@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/31b3ba0e8491 Remove unused XBL checkbox-baseline and checkbox-radio. r=nalexander
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla58
Blocks: 1414521
Type: enhancement → task
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: