gecko-dev/layout/xul
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
reftest
test
tree Bug 1896516 Part 11 - Remove nsIScrollableFrame usages under layout/, widget/, and toolkit/. r=layout-reviewers,emilio 2024-05-30 06:32:22 +00:00
MiddleCroppingLabelFrame.cpp
MiddleCroppingLabelFrame.h
SimpleXULLeafFrame.cpp
SimpleXULLeafFrame.h
moz.build
nsIPopupContainer.h
nsIScrollbarMediator.h
nsMenuPopupFrame.cpp Bug 1902325 - Remove zIndex concept from views. r=tnikkel,layout-reviewers 2024-06-18 14:56:11 +00:00
nsMenuPopupFrame.h Bug 1896516 Part 11 - Remove nsIScrollableFrame usages under layout/, widget/, and toolkit/. r=layout-reviewers,emilio 2024-05-30 06:32:22 +00:00
nsRepeatService.cpp
nsRepeatService.h
nsScrollbarButtonFrame.cpp
nsScrollbarButtonFrame.h
nsScrollbarFrame.cpp Bug 1896516 Part 11 - Remove nsIScrollableFrame usages under layout/, widget/, and toolkit/. r=layout-reviewers,emilio 2024-05-30 06:32:22 +00:00
nsScrollbarFrame.h
nsSliderFrame.cpp Bug 1896516 Part 11 - Remove nsIScrollableFrame usages under layout/, widget/, and toolkit/. r=layout-reviewers,emilio 2024-05-30 06:32:22 +00:00
nsSliderFrame.h Bug 1896516 Part 11 - Remove nsIScrollableFrame usages under layout/, widget/, and toolkit/. r=layout-reviewers,emilio 2024-05-30 06:32:22 +00:00
nsSplitterFrame.cpp
nsSplitterFrame.h
nsXULPopupManager.cpp Bug 1675847 - part 3: Make `ePointerClick` event dispatchers and handlers use `WidgetPointerEvent` r=smaug,search-reviewers,devtools-reviewers,nchevobbe,jteow 2024-06-14 00:18:47 +00:00
nsXULPopupManager.h Bug 1743329 - Release pointer lock when xul popup is open; r=smaug,pbz 2024-05-31 11:13:46 +00:00
nsXULTooltipListener.cpp Bug 1899894 - Remove debug statements that require customized #define. r=layout-reviewers,emilio 2024-05-31 17:45:44 +00:00
nsXULTooltipListener.h