Stop using `-moz-appearance: menuitem` for menupopup scrollbuttons on Mac
Categories
(Toolkit :: Themes, task, P2)
Tracking
()
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.
Comment 1•4 years ago
|
||
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
Assignee | ||
Comment 2•4 years ago
|
||
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 | ||
Comment 3•4 years ago
|
||
Assignee | ||
Comment 4•4 years ago
•
|
||
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
Assignee | ||
Updated•4 years ago
|
Comment 6•4 years ago
|
||
bugherder |
Description
•