Fix test failure on Chrome v29 removing style attribute