Closed Bug 1037017 Opened 10 years ago Closed 10 years ago

Remove cui-areatype from removable="false" widgets

Categories

(Firefox :: Toolbars and Customization, defect)

defect
Not set
normal
Points:
2

Tracking

()

RESOLVED FIXED
Firefox 33
Iteration:
33.3

People

(Reporter: Gijs, Assigned: dao)

References

Details

Attachments

(1 file)

Per bug 1014313 comment 36. Array.map(document.querySelectorAll(":not([removable='true'])[cui-areatype]"), (n) => n.id).join(',') on current fx-team, at least, produces the following list of elements: menubar-items tabbrowser-tabs urlbar-container back-button forward-button webrtc-status-button nav-bar-overflow-button PanelUI-button PanelUI-menu-button restore-button I don't know how many of these can be removed outright and how many will need messing about with CSS before we can do that (or whether that means we should even do it).
(In reply to :Gijs Kruitbosch from comment #0) > I don't know how many of these can be removed outright and how many will > need messing about with CSS before we can do that (or whether that means we > should even do it). I looked through <http://mxr.mozilla.org/mozilla-central/search?string=cui-areatype&find=\.css>. I don't think there's any dependency.
Assignee: nobody → dao
Component: General → Toolbars and Customization
Attached patch patchSplinter Review
I also removed cui-areatype from updateCombinedWidgetStyle since (1) it's unused and (2) I think it's better to be consistent and only ever set the attribute on the actual customizable widget, rather than expecting extra code to be written for complex widgets in order to set the attribute on some of the nested nodes.
Attachment #8456537 - Flags: review?(gijskruitbosch+bugs)
Attachment #8456537 - Flags: review?(gijskruitbosch+bugs) → review+
Iteration: --- → 33.3
Points: --- → 2
QA Whiteboard: [qa-]
Flags: firefox-backlog+
Summary: Investigate removing instances of cui-areatype from removable="false" widgets → Remove cui-areatype from removable="false" widgets
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 33
Depends on: 1040810
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: