Closed Bug 1624599 Opened 4 years ago Closed 4 years ago

Stop using `-moz-appearance: menuitem` for menupopup scrollbuttons on Mac

Categories

(Toolkit :: Themes, task, P2)

task
Points:
2

Tracking

()

RESOLVED FIXED
81 Branch
Tracking Status
firefox81 --- fixed

People

(Reporter: dao, Assigned: mstange)

References

Details

Attachments

(1 file, 1 obsolete file)

See https://phabricator.services.mozilla.com/D67678#inline-403049

We might want to do this across platforms as I don't think what we do on Linux and Windows at the moment is guided by platform convention.

Attached patch scrollbuttons-macos.diff (obsolete) — Splinter Review

Just attaching the patch from Phabricator so it doesn't get lost. Probably can't ship the way it is though.

mstange provided a very useful CodePen as well: https://codepen.io/mstange/pen/abOROgN

I'll try to finish this up. But I'll only do it for macOS because I'm not set up to test other platforms at the moment.

Assignee: nobody → mstange.moz
Status: NEW → ASSIGNED

This effect could in fact easily be made cross-platform if the styles were moved to a shared place. I just didn't do it because I didn't know where that shared place would be. But I'm sure for somebody who's more familiar with the code it's an easy change to make.

The original patch in this bug included two changes to exportparts attributes. In my testing, things worked even without those changes, so I took them out. Should I put them back?

Pushed by mstange@themasta.com:
https://hg.mozilla.org/integration/autoland/rev/5dea570231ee
When menu arrow scroll buttons overlap the menu contents, use overflow:hidden to clip away the contents underneath, rather than relying on -moz-appearance tricks. r=dao
Attachment #9135824 - Attachment is obsolete: true
Status: ASSIGNED → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → 81 Branch
Blocks: 1655774
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: