fill-path-with-uninvertible-transform-crash.html (233B)
1 <!DOCTYPE html> 2 <script> 3 let context = document.createElement("canvas").getContext("2d"); 4 context.moveTo(0, 0); 5 context.setTransform(4, 2, 6, 3, 0, 0); // non-invertible (4 * 3 - 6 * 2 = 0) 6 context.fill("nonzero"); 7 </script>