I can click that top border part and chrome still select the tab (tested on Windows and KDE)

It works on chrome but not all programs with the same look.