<html xmlns="http://www.w3.org/1999/xhtml">
<head>
</head>
<body>
This should be green.
<script>
 <![CDATA[
   document.head.innerHTML = "<style>body { color: green; }</style>";
   ]]>
</script>
</body>
</html>