Workaround for svg sub elements not getting :visible psuedo class in webkit