Closed Bug 1516091 Opened 5 years ago Closed 5 years ago

Stop using <sidebarheader> as an element

Categories

(Toolkit :: UI Widgets, task, P5)

task

Tracking

()

RESOLVED FIXED
mozilla72
Tracking Status
firefox72 --- fixed

People

(Reporter: ntim, Assigned: ntim)

References

(Blocks 2 open bugs)

Details

Attachments

(1 file)

The only usage in Firefox has its own styling.

The `sidebarheader > label` selectors are completely unused in Firefox, since Firefox uses a toolbarbutton as child element.

I got a feeling that the global.css sidebarheader styles can be killed altogether for that reason, the styles in global.css are not necessarily relevant to Firefox, and they're outdated.
Blocks: 1516096
Priority: -- → P5

There doesn't seem to be any special behaviour associated to <sidebarheader> (neither in a11y or in platform code), only styling, so it'd be reasonable to change this to a normal XUL box.

Summary: Clean up sidebarheader styling → Stop using <sidebarheader> as an element
Component: Themes → XUL Widgets

Magnus/Richard, this is something you'd probably want to port to TB.

TB seems to have multiple sidebarheader usages, I guess they could be changed to box class="sidebar-header" and the styling could be ported over.

Flags: needinfo?(richard.marti)
Flags: needinfo?(mkmelin+mozilla)
Depends on: 1593224

Thanks Tim, filed bug 1593224.

Flags: needinfo?(richard.marti)
Flags: needinfo?(mkmelin+mozilla)
Pushed by ntim.bugs@gmail.com:
https://hg.mozilla.org/integration/autoland/rev/2cad80ddf5c8
Stop using <sidebarheader> as an element. r=Gijs
Type: enhancement → task
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla72
Assignee: nobody → ntim.bugs
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: