Fix animation issue with webkit
inline html code