Closed Bug 1854420 Opened 8 months ago Closed 8 months ago

Split buttons in the chrome panels have a gap between the buttons

Categories

(Toolkit :: UI Widgets, defect)

defect

Tracking

()

RESOLVED FIXED
120 Branch
Tracking Status
firefox-esr102 --- unaffected
firefox-esr115 --- unaffected
firefox117 --- unaffected
firefox118 --- unaffected
firefox119 --- fixed
firefox120 --- fixed

People

(Reporter: tgiles, Assigned: annhermy)

References

(Regression)

Details

(Keywords: regression, Whiteboard: [recomp])

Attachments

(3 files)

Attached image image.png

Split buttons that use popupnotification.js have a gap between them when they shouldn't.

Since this is popupnotification.js code, moving to XUL Widgets

Component: Themes → XUL Widgets

Set release status flags based on info from the regressing bug 1849192

:annhermy, since you are the author of the regressor, bug 1849192, could you take a look?

For more information, please visit BugBot documentation.

Flags: needinfo?(annhermy)

Setting Fx119 to fixed, the regressor was backed out
https://bugzilla.mozilla.org/show_bug.cgi?id=1849192#c4

See Also: → 1854699
Whiteboard: [fidefe-reusable-components]
Assignee: nobody → annhermy
Status: NEW → ASSIGNED
Pushed by hjones@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/f113adfb6ab5
Split buttons in the chrome panels have a gap between the buttons.js r=tgiles,desktop-theme-reviewers,reusable-components-reviewers,dao

Ganna / Hanna: I sent a follow-up to fix a test to avoid backing out the whole stack. My understanding per the comments is that it's sort of expected to not rely on the button at the beginning to have inline-end margin. But maybe the test needs adjustments, or we need a rule removing that inline-end margin for the first button?

Flags: needinfo?(hjones)
Pushed by nerli@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/c24c2ee2e29b
Fix test_moz_button_group.html to avoid backout of the whole stack and dependent bugs. r=emilio CLOSED TREE

(In reply to Emilio Cobos Álvarez (:emilio) from comment #6)

Ganna / Hanna: I sent a follow-up to fix a test to avoid backing out the whole stack. My understanding per the comments is that it's sort of expected to not rely on the button at the beginning to have inline-end margin. But maybe the test needs adjustments, or we need a rule removing that inline-end margin for the first button?

Thanks for the quick test fix and my bad for not catching that before landing! I pushed another change that should allow us to leave the test as is - I believe that 8px spacing is what we want, we just accidentally removed a rule that was removing all other margins from slotted buttons.

Flags: needinfo?(hjones)

(In reply to Emilio Cobos Álvarez (:emilio) from comment #6)

Ganna / Hanna: I sent a follow-up to fix a test to avoid backing out the whole stack. My understanding per the comments is that it's sort of expected to not rely on the button at the beginning to have inline-end margin. But maybe the test needs adjustments, or we need a rule removing that inline-end margin for the first button?

Thanks for catching that! So sorry that I missed that. Thanks Hanna for a fix

Flags: needinfo?(annhermy)
Status: ASSIGNED → RESOLVED
Closed: 8 months ago
Resolution: --- → FIXED
Target Milestone: --- → 120 Branch
Pushed by hjones@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/ce7d7cd4e72f
re-add moz-button-group CSS rule to remove margins from slotted buttons r=emilio,desktop-theme-reviewers,reusable-components-reviewers,tgiles
Whiteboard: [fidefe-reusable-components] → [recomp]
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: