gecko-dev/view
Emilio Cobos Álvarez 8d6e6842c0 Bug 1902325 - Remove zIndex concept from views. r=tnikkel,layout-reviewers
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
2024-06-18 14:56:11 +00:00
..
crashtests Bug 1855763 - Automatic fixes to avoid using prefixed transforms in tests. r=layout-reviewers,jfkthame 2023-10-02 12:36:17 +00:00
moz.build
nsView.cpp Bug 1902325 - Remove zIndex concept from views. r=tnikkel,layout-reviewers 2024-06-18 14:56:11 +00:00
nsView.h Bug 1902325 - Remove zIndex concept from views. r=tnikkel,layout-reviewers 2024-06-18 14:56:11 +00:00
nsViewManager.cpp Bug 1902325 - Remove zIndex concept from views. r=tnikkel,layout-reviewers 2024-06-18 14:56:11 +00:00
nsViewManager.h Bug 1902325 - Remove zIndex concept from views. r=tnikkel,layout-reviewers 2024-06-18 14:56:11 +00:00