support new safari css ribbon behavior