Loading
Bug 1768278 - Draw menupopup shadows ourselves on Windows. r=dao,Gijs
This prevents long-standing artifacts on HiDPI screens on context menus and so on. This is much simpler than tooltips because menupopups and panels already have the whole set-up ready. The searchbar.css changes are kind of annoying, but they improve the rendering a lot (see attached screenshots). Let me know if you want me to draw shadows on all panels on Windows like we do on Linux, it's probably doable and cleaner over-all. Differential Revision: https://phabricator.services.mozilla.com/D145818