dom/element: add style support