Move the dom's css engine context implementation
Move the code where it belongs