summaryrefslogtreecommitdiffstats
path: root/layout/base/crashtests/1340571.html
diff options
context:
space:
mode:
Diffstat (limited to 'layout/base/crashtests/1340571.html')
-rw-r--r--layout/base/crashtests/1340571.html15
1 files changed, 15 insertions, 0 deletions
diff --git a/layout/base/crashtests/1340571.html b/layout/base/crashtests/1340571.html
new file mode 100644
index 0000000000..f46720cca1
--- /dev/null
+++ b/layout/base/crashtests/1340571.html
@@ -0,0 +1,15 @@
+<!DOCTYPE html>
+<html>
+ <head>
+ <style id=z></style>
+ <script>
+ o1 = document.createElement('embed');
+ document.getElementById('z').scrollLeft;
+ document.styleSheets[0].insertRule("* { flex-basis: calc(1rem) }", 0);
+ try { window.find("a", true, true, false, false, true, false); } catch(e) {};
+ document.replaceChild(o1, document.documentElement);
+ document.documentElement.appendChild(document.createElement('style'));
+ document.styleSheets[0].insertRule("* { font: small roman inherit }", 0);
+ </script>
+ </head>
+</html>