in HtmlElement: make style elements rendered properly