summaryrefslogtreecommitdiffstats
path: root/layout/reftests/bugs/565819-1.html
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--layout/reftests/bugs/565819-1.html17
1 files changed, 17 insertions, 0 deletions
diff --git a/layout/reftests/bugs/565819-1.html b/layout/reftests/bugs/565819-1.html
new file mode 100644
index 0000000000..e0c3271712
--- /dev/null
+++ b/layout/reftests/bugs/565819-1.html
@@ -0,0 +1,17 @@
+<!DOCTYPE html>
+<html>
+ <head>
+ <style>
+ div { color: green; }
+ div:empty { color: red; }
+ </style>
+ <script>
+ window.onload = function () {
+ document.getElementById("x").appendChild(document.createTextNode("This should be green"));
+ }
+ </script>
+ </head>
+ <body>
+ <div id="x"></div>
+ </body>
+</html>