summaryrefslogtreecommitdiffstats
path: root/gfx/tests/crashtests/390476.html
blob: f86635c9cfb3a9c0a4adae96c553633c5e8acedc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
<html><head>
<title>Crash [@ _moz_cairo_win32_scaled_font_select_font] with negative font-size in canvas</title>
<script>
  var ctx = document.createElement('canvas').getContext('2d');
  ctx.translate(100, 100);
  ctx.font = "-14pt sans serif";
  ctx.mozDrawText('text');
</script>
</head>
<body>
<canvas id="canvas"></canvas>
</body>
</html>