summaryrefslogtreecommitdiffstats
path: root/layout/reftests/bugs/605157-1.xhtml
diff options
context:
space:
mode:
Diffstat (limited to 'layout/reftests/bugs/605157-1.xhtml')
-rw-r--r--layout/reftests/bugs/605157-1.xhtml12
1 files changed, 12 insertions, 0 deletions
diff --git a/layout/reftests/bugs/605157-1.xhtml b/layout/reftests/bugs/605157-1.xhtml
new file mode 100644
index 000000000..112bcba1b
--- /dev/null
+++ b/layout/reftests/bugs/605157-1.xhtml
@@ -0,0 +1,12 @@
+<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>