Given a DOMDocument and a CSS file, calculate the effective CSS for each node in the DOM