Improved rendering performance

The current CSS of a Style is now cached, instead of querying the DOM
for the value and causing a relayout.