summaryrefslogtreecommitdiffstats
path: root/layout/style/crashtests/1403465.html
diff options
context:
space:
mode:
Diffstat (limited to 'layout/style/crashtests/1403465.html')
-rw-r--r--layout/style/crashtests/1403465.html24
1 files changed, 24 insertions, 0 deletions
diff --git a/layout/style/crashtests/1403465.html b/layout/style/crashtests/1403465.html
new file mode 100644
index 0000000000..924392757b
--- /dev/null
+++ b/layout/style/crashtests/1403465.html
@@ -0,0 +1,24 @@
+<!DOCTYPE html>
+<html>
+<body>
+ <math class="hidden">
+ <mi>x</mi>
+ <mo>=</mo>
+ </math>
+<script>
+window.onload = function() {
+ let s = document.createElement("style");
+ s.textContent = `
+ body {
+ line-height: 1.42857143;
+ }
+
+ .hidden {
+ display: none;
+ }
+ `;
+ document.body.appendChild(s);
+};
+</script>
+</body>
+</html>