Add support for in-page <style> tags by parsing the current document