summaryrefslogtreecommitdiffstats
path: root/gfx/tests/crashtests/1797099-1.html
diff options
context:
space:
mode:
Diffstat (limited to 'gfx/tests/crashtests/1797099-1.html')
-rw-r--r--gfx/tests/crashtests/1797099-1.html18
1 files changed, 18 insertions, 0 deletions
diff --git a/gfx/tests/crashtests/1797099-1.html b/gfx/tests/crashtests/1797099-1.html
new file mode 100644
index 0000000000..5998f9dbfb
--- /dev/null
+++ b/gfx/tests/crashtests/1797099-1.html
@@ -0,0 +1,18 @@
+<!DOCTYPE html>
+<html>
+<head>
+ <script>
+ document.addEventListener('DOMContentLoaded', () => {
+ const canvas = document.createElementNS('http://www.w3.org/1999/xhtml', 'canvas')
+ const context = canvas.getContext('2d')
+ const pattern = context.createPattern(canvas, 'no-repeat')
+ context.fillStyle = pattern
+ pattern.setTransform({
+ 'c': 1.510601806598101,
+ 'd': 0,
+ })
+ context.fillRect(1024, 512, 32, 32767)
+ })
+ </script>
+</head>
+</html> \ No newline at end of file