Elements that are display: none should not be included in criticalcss
Rev version