LibWeb: implement navigator.maxTouchPoints
This is needed by vercel.com to determine how many touch points there is.
For #1298
This is linux-only, would you mind adding an implementation for Mac and possibly Windows too?
There's no sense in adding a Windows implementation, as we can't build the application for windows.
Mac computers don't even have touch screens.
Mac computers don't even have touch screens.
If you plug in a graphics tablet or other touchscreen, that should be included I think. We need to ask the OS about it.
I've added the code to check touch screen or trackpad support on macOS.
Will cause merge conflict after #2256 is merged.
Apparently rebasing is enough to make it work