Many forum posts say to hold 'ctrl' when pinching, but that doesn't do anything for me on any browser (tried firefox and chrome). Fun thing is that pinch zoom works on PDF files in the default viewer (on both wayland and xorg), also on images in the GNOME default viewer.
I've tried the whole libinput-gestures thing but it's not what I'm looking for, it lets me map 'ctrl' + '+' to the pinch gesture, which just increases the scale of the pages instead of doing this clean zoom on a particular part of the page, not throwing the layout off. I've seen posts of people saying that it should work on chrome by default, but I've had no luck with this.
On firefox I installed this extension and pinch zooming still doesn't work, only the 'shift' scroll alternative. I'd prefer to use chrome though.
How should I go about trying to enable pinch zoom? I feel like I've tried most of the things I found over several furious googling sessions.