summaryrefslogtreecommitdiffstats
path: root/layout/reftests/bugs/1348481-2.html
diff options
context:
space:
mode:
Diffstat (limited to 'layout/reftests/bugs/1348481-2.html')
-rw-r--r--layout/reftests/bugs/1348481-2.html10
1 files changed, 10 insertions, 0 deletions
diff --git a/layout/reftests/bugs/1348481-2.html b/layout/reftests/bugs/1348481-2.html
new file mode 100644
index 0000000000..4d197d6a0f
--- /dev/null
+++ b/layout/reftests/bugs/1348481-2.html
@@ -0,0 +1,10 @@
+<!DOCTYPE html>
+<link rel="stylesheet" href="data:text/css,div { color: green }">
+<link rel="stylesheet" href="data:text/css,div { color: green }">
+<div>This should be green</div>
+<script>
+ onload = function() {
+ var links = document.getElementsByTagName("link");
+ links[0].remove();
+ }
+</script>