Closed
Bug 1412361
Opened 7 years ago
Closed 7 years ago
Remove checkbox-baseline and checkbox-radio xbl bindings
Categories
(Toolkit :: Themes, task, P3)
Toolkit
Themes
Tracking
()
RESOLVED
FIXED
mozilla58
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
Comment 1•7 years ago
|
||
(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!
Updated•7 years ago
|
status-firefox57:
--- → wontfix
Priority: -- → P3
Assignee | ||
Updated•7 years ago
|
Assignee: nobody → dtownsend
Comment hidden (mozreview-request) |
Reporter | ||
Updated•7 years ago
|
Whiteboard: [xbl-remove-unused]
Comment hidden (mozreview-request) |
Assignee | ||
Updated•7 years ago
|
Attachment #8924650 -
Flags: review?(nalexander)
Comment 4•7 years ago
|
||
mozreview-review |
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+
Assignee | ||
Comment 5•7 years ago
|
||
mozreview-review-reply |
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
![]() |
||
Comment 7•7 years ago
|
||
bugherder |
Status: NEW → RESOLVED
Closed: 7 years ago
status-firefox58:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla58
Updated•6 years ago
|
Type: enhancement → task
You need to log in
before you can comment on or make changes to this bug.
Description
•