diff options
Diffstat (limited to 'layout/reftests/bugs/565819-1.html')
-rw-r--r-- | layout/reftests/bugs/565819-1.html | 17 |
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 000000000..e0c327171 --- /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> |