summaryrefslogtreecommitdiffstats
path: root/layout/reftests/bugs/1376092.html
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--layout/reftests/bugs/1376092.html14
1 files changed, 14 insertions, 0 deletions
diff --git a/layout/reftests/bugs/1376092.html b/layout/reftests/bugs/1376092.html
new file mode 100644
index 0000000000..f975497b96
--- /dev/null
+++ b/layout/reftests/bugs/1376092.html
@@ -0,0 +1,14 @@
+<!doctype html>
+<html class="reftest-wait">
+<link rel="woof" href="1376092.css">
+<script>
+let link = document.querySelector('link');
+link.onload = function() {
+ link.media = "";
+ document.documentElement.className = "";
+}
+link.media = "only x";
+link.rel = "stylesheet";
+</script>
+Should be green.
+</html>