зеркало из https://github.com/mozilla/gecko-dev.git
8d6e6842c0
This comes back to ~since forever, since absolutely positioned elements used to have views. But now is basically only plumbed from nsMenuPopupFrame to nsIWidget. The main issue is that that concept is basically fiction nowadays: * Wayland can't reorder popups. * macOS doesn't implement it because SetZIndex calls PlaceBehind which only has a windows impl. * Unclear whether it works properly on Windows as well. Also, the front-end never sets it anyways. So remove this fiction to simplify relevant code. We might want to provide a z-ordering of popups somehow else, but it should probably live in nsXULPopupManager etc rather than nsView. Differential Revision: https://phabricator.services.mozilla.com/D213598 |
||
---|---|---|
.. | ||
crashtests | ||
moz.build | ||
nsView.cpp | ||
nsView.h | ||
nsViewManager.cpp | ||
nsViewManager.h |