Font looses subpixel antialiasing if rounded border and overflow styles applied to element (only Ubuntu)
Faced this interesting bug (probably from webkitgtk), if you apply both styles "rounded border and overflow hidded", font looses its subpixel-aa and uses grayscale AA, which is visually noticable, tested on Ubuntu 20.04.5 LTS (Windows is ok):
<style>
.rrr {
border-radius: 0.5rem;
}
.hhh {
overflow: hidden;
}
</style>
<div class="mx-8 mt-8">aaa bbb ccc jjj qqq</div>
<div class="mx-8 mb-8 mb-1 border rrr hhh">
rounded, overflow-hidden | aaa bbb ccc jjj qqq
</div>
renders as: