summaryrefslogtreecommitdiffstats
path: root/layout/generic/crashtests
diff options
context:
space:
mode:
authorAndy <webmaster@RealityRipple.com>2020-08-04 13:54:01 -0700
committerMoonchild <moonchild@palemoon.org>2020-08-30 09:23:18 +0000
commit0bbe6ec10589b8540aa86200bf2b209ad4e563ba (patch)
tree2144747a67a4be26df207060bd9e32e8e2f7f39a /layout/generic/crashtests
parent48d31ea5ebe2a4901fcb542e1e48b6fd6b67d64c (diff)
downloadUXP-0bbe6ec10589b8540aa86200bf2b209ad4e563ba.tar
UXP-0bbe6ec10589b8540aa86200bf2b209ad4e563ba.tar.gz
UXP-0bbe6ec10589b8540aa86200bf2b209ad4e563ba.tar.lz
UXP-0bbe6ec10589b8540aa86200bf2b209ad4e563ba.tar.xz
UXP-0bbe6ec10589b8540aa86200bf2b209ad4e563ba.zip
Issue #1620 - Use Intrinsic Aspect Ratio for Images (uplift)
Diffstat (limited to 'layout/generic/crashtests')
-rw-r--r--layout/generic/crashtests/1633434.html15
-rw-r--r--layout/generic/crashtests/crashtests.list1
2 files changed, 16 insertions, 0 deletions
diff --git a/layout/generic/crashtests/1633434.html b/layout/generic/crashtests/1633434.html
new file mode 100644
index 000000000..8a60b2072
--- /dev/null
+++ b/layout/generic/crashtests/1633434.html
@@ -0,0 +1,15 @@
+<!DOCTYPE html>
+<html>
+<head>
+ <script>
+ document.addEventListener('DOMContentLoaded', () => {
+ const svg = document.createElementNS('http://www.w3.org/2000/svg', 'svg')
+ svg.setAttribute('height', '6')
+ svg.setAttribute('width', '1pc')
+ document.documentElement.appendChild(svg)
+ svg.style.setProperty('height', '5%', undefined)
+ svg.width.baseVal.valueInSpecifiedUnits = 1.988164037240853e+38
+ })
+ </script>
+</head>
+</html>
diff --git a/layout/generic/crashtests/crashtests.list b/layout/generic/crashtests/crashtests.list
index 183556ab9..ab371429c 100644
--- a/layout/generic/crashtests/crashtests.list
+++ b/layout/generic/crashtests/crashtests.list
@@ -642,3 +642,4 @@ load 1278461-1.html
load 1278461-2.html
load 1304441.html
load 1316649.html
+load 1633434.html