resolve urls correctly in context of host document:
- urls resources in stylesheets and in style tags
- href, src, and action attributes