Use RefCell for mutability of Element::style_attribute.

related: #2513