When the font-family for an element only consists of fonts that are not available, we end up using metrics from a different font than we render with. This produces odd gaps between words, and strange selection behaviour.
Linux
There are no funky gaps.
There are funky gaps.
N/A
<style>
html { font-family: lololol; }
</style>
Well hello friends!
N/A
This is the reduced test case above. Here I've selected the word "hello" but the selection area extends beyond it.
No response
Pay now to fund the work behind this issue.
Get updates on progress being made.
Maintainer is rewarded once the issue is completed.
You're funding impactful open source efforts
You want to contribute to this effort
You want to get funding like this too