node: Use a RefCell for the State
We can remove the use of a raw pointer and use RefCell instead. Since the state is now only mutable internally, we need to move the parse_style_attributes method on the node itself. This also allows to remove the manual Drop implementation of Node.
Showing with 145 additions and 226 deletions