When I open the same websites in Firefox, Chrome, and Vivaldi, the content appears much smaller in Firefox than in both Chromium based browsers, despite site zoom is set to 100% in all of them.
Using content with annotated pixel sizes, taking screenshots, and measuring them in GIMP makes me conclude, that the display size is correct in Chrome but too small in Firefox.
I found an old Mozilla support issue. While it's about content being to large on Windows, it says that Firefox is supposed to respect system-wide device pixel density settings by default, and that it can be overridden setting layout.css.devPixelsPerPx to a custom value in about:config. While a value of 1.2 seems to "fix" the problem, I would rather fix the root cause and make sure my system is set up correctly.
Where would I adjust Linux device pixel density settings to correct the zoom in Firefox without breaking it in Chrome?
I use Ubuntu 20.04.3 LTS with Ubuntu Budgie desktop on a Tuxedo Infinitybook.
about:configin Firefoxlayout.css.devPixelsPerPxto1.2is about right, but as it defaults to system settings, I would rather correctly set up my system instead of tweaking the browser. Other browsers seem to get it right out of the box, and I'm still not sure if this is a misconfiguration, a Linux bug, a Budgie bug, or a browser bug.about:configis not any uglier than making a similar configuration change in Ubuntu. But the problem is in your distaste of how things are rendered in Firefox so it makes absolutely no sense to make changes to how your entire system renders things. Now if you did that, that would be quite an ugly fix!