Closed Bug 1800072 Opened 1 year ago Closed 1 year ago

Fix dropmarker type=menu-button after bug 1799343

Categories

(Thunderbird :: Upstream Synchronization, defect)

defect

Tracking

(thunderbird_esr102 unaffected)

RESOLVED FIXED
108 Branch
Tracking Status
thunderbird_esr102 --- unaffected

People

(Reporter: freaktechnik, Assigned: freaktechnik)

References

Details

Attachments

(2 files)

+++ This bug was initially created as a clone of Bug #1799343 +++

After some test builds it appears that our menu-button dropmarkers are broken after applying the commit from bug 1799343.

Not quite sure yet why exactly, but I assume some of the magic that made the menu-button dropmarker work before isn't working anymore.

By menu-button dropmarkers I mean dropmarkers generated by this: https://searchfox.org/comm-central/rev/5df9c49a11c1eddae1a8372ccea21cea6f605753/mail/base/content/widgets/toolbarbutton-menu-button.js#35-36

The selector in:

:is(toolbarbutton[type="menu"], button[type="menu"], menulist, menu) > :is(menupopup, panel) {

Is not accounting for type="menu-button". Can you just s/menu-button/button? It's weird that thunderbird would have this extra piece of magic:

https://searchfox.org/mozilla-central/rev/d1fe4b6dd7027a54c17ce3030948a1be354598ab/layout/base/nsCSSFrameConstructor.cpp#4128-4133

Assignee: nobody → martin
Status: NEW → ASSIGNED

It broke in bug 1799343, and the TB folks are using type="menu", so
let's remove this.

Pushed by ealvarez@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/6625b1c05b83
Remove special-case for XUL type="menu-button". r=jfkthame
Status: ASSIGNED → RESOLVED
Closed: 1 year ago
Resolution: --- → FIXED
Target Milestone: --- → 108 Branch
Status: RESOLVED → REOPENED
Resolution: FIXED → ---

Pushed by alessandro@thunderbird.net:
https://hg.mozilla.org/comm-central/rev/07ed16f41179
Use type="menu" instead of type="menu-button". r=Paenglab

Status: REOPENED → RESOLVED
Closed: 1 year ago1 year ago
Resolution: --- → FIXED
Regressions: 1801669
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: