Added HTML5 display rules