Closed Bug 1832348 Opened 1 year ago Closed 9 months ago

Replace .panel-footer with moz-button-group

Categories

(Toolkit :: Themes, task)

task

Tracking

()

RESOLVED FIXED
120 Branch
Tracking Status
firefox120 --- fixed

People

(Reporter: mstriemer, Assigned: annhermy)

References

(Blocks 1 open bug)

Details

(Whiteboard: [recomp])

Attachments

(6 files, 1 obsolete file)

The .panel-footer class should only be used for buttons since it sets justify-content: flex-end, but it is very tempting to use it for other elements since it sets the padding as well

We should convert all of our .panel-footer uses to moz-button-group and remove all the CSS for .panel-footer

Assignee: nobody → annhermy
Status: NEW → ASSIGNED

Depends on D183231

Duplicate of this bug: 1842212
Attachment #9343195 - Attachment description: Bug 1832348 - Part 5: Remove unused selectors. r=hjones → Bug 1832348 - Part 6: Remove unused selectors. r=hjones
Pushed by hjones@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/fcc56c5fd7e4
Part 1: Replace .panel-footer with moz-button-group in editBookmarkPanel r=hjones,dao
https://hg.mozilla.org/integration/autoland/rev/a357b1c75148
Part 2: Replace .panel-footer with moz-button-group in translationsPanel r=hjones,dao
https://hg.mozilla.org/integration/autoland/rev/fdcd11e66071
Part 3: Replace .panel-footer with moz-button-group in downloadsPanel r=dao,mak
https://hg.mozilla.org/integration/autoland/rev/9cc22e70d293
Part 4: Replace .panel-footer with moz-button-group in popupnotification r=hjones
https://hg.mozilla.org/integration/autoland/rev/294d38c19889
Part 5: Add panel-footer-button class for buttons in protectionsPanel. r=mstriemer
https://hg.mozilla.org/integration/autoland/rev/50f0546e5e0e
Part 6: Remove unused selectors. r=hjones,desktop-theme-reviewers,dao
See Also: → 1849192

Comment on attachment 9343194 [details]
Bug 1832348 - Part 4: Replace .panel-footer with moz-button-group in popupnotification r=hjones

Revision D183231 was moved to bug 1849192. Setting attachment 9343194 [details] to obsolete.

Attachment #9343194 - Attachment is obsolete: true

Canceling old needinfo as this is showing up in the triage dashboard, and Ganna seems to be aware of the backout from a month ago. Hanna, do you know if this is ready to reland?

Flags: needinfo?(annhermy) → needinfo?(hjones)

(In reply to Dão Gottwald [:dao] from comment #12)

Canceling old needinfo as this is showing up in the triage dashboard, and Ganna seems to be aware of the backout from a month ago. Hanna, do you know if this is ready to reland?

There's still an issue with browser_popupNotification_security_delay.js failing after adding moz-button-group to popupnotification.

Pushed by hjones@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/001ee53a42dc
Part 1: Replace .panel-footer with moz-button-group in editBookmarkPanel r=hjones,dao
https://hg.mozilla.org/integration/autoland/rev/8356d7123645
Part 2: Replace .panel-footer with moz-button-group in translationsPanel r=hjones,dao
https://hg.mozilla.org/integration/autoland/rev/33d0d6f78d41
Part 3: Replace .panel-footer with moz-button-group in downloadsPanel r=dao,mak
https://hg.mozilla.org/integration/autoland/rev/49667216e3c2
Part 4: Add panel-footer-button class for panel-footer buttons in popupnotification. r=tgiles,desktop-theme-reviewers,dao
https://hg.mozilla.org/integration/autoland/rev/99dca8d67e20
Part 5: Add panel-footer-button class for buttons in protectionsPanel. r=mstriemer
https://hg.mozilla.org/integration/autoland/rev/ae7efa4f7ab4
Part 6: Remove unused selectors. r=hjones,desktop-theme-reviewers,dao

Landing the patches in this stack that are unaffected by the test failure. We're still working to resolve some issues with a test before landing the last piece of this work.

Flags: needinfo?(hjones)
Keywords: leave-open
Keywords: leave-open
Blocks: 1849192
Regressions: 1854699

Backed out for causing a new regression (bug 1854699)

Flags: needinfo?(annhermy)
Pushed by hjones@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/679865f37255
Part 6: Remove unused selectors. r=hjones,desktop-theme-reviewers,dao
Flags: needinfo?(annhermy)
Status: ASSIGNED → RESOLVED
Closed: 9 months ago
Resolution: --- → FIXED
Target Milestone: --- → 120 Branch
Whiteboard: [fidefe-reusable-components] → [recomp]
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: