summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/selectors/link-sharing-crash.html
diff options
context:
space:
mode:
Diffstat (limited to 'testing/web-platform/tests/css/selectors/link-sharing-crash.html')
-rw-r--r--testing/web-platform/tests/css/selectors/link-sharing-crash.html11
1 files changed, 11 insertions, 0 deletions
diff --git a/testing/web-platform/tests/css/selectors/link-sharing-crash.html b/testing/web-platform/tests/css/selectors/link-sharing-crash.html
new file mode 100644
index 0000000000..3bcce92d49
--- /dev/null
+++ b/testing/web-platform/tests/css/selectors/link-sharing-crash.html
@@ -0,0 +1,11 @@
+<link rel="help" href="https://bugzil.la/1883796">
+<script>
+window.addEventListener("load", () => {
+ let a = document.createElementNS("http://www.w3.org/1999/xhtml", "a")
+ document.documentElement.appendChild(a)
+ document.documentElement.appendChild(document.createElementNS("http://www.w3.org/1999/xhtml", "a"))
+ document.documentElement.scrollTo(-1132, 16)
+ document.documentElement.animate({"webkitTextStrokeWidth": ["197792984.89ex", "thin"]}, 2814)
+ a.setAttribute("href", "x")
+})
+</script>