Files
sousa-gecko/testing/web-platform/tests/html/canvas/offscreen/path-objects/2d.path.clip.scale-expected.html
T
Euclid Ye 3dbbab446a Bug 2038547 [wpt PR 59780] - canvas: Fix double-transformed clip path in vello CPU backend, a=testonly
Automatic update from web-platform-tests
new reftest

Signed-off-by: Euclid Ye <yezhizhenjiakang@gmail.com>

--
generate canvas regression test

Signed-off-by: Euclid Ye <yezhizhenjiakang@gmail.com>

--

wpt-commits: d8943e978103c68e07637ad6114e06c1fb0d86c6, a3f19d3119a36216eac2f0dd22bb23e0f0aa7d55
wpt-pr: 59780
2026-05-13 04:23:10 +00:00

17 lines
562 B
HTML

<!DOCTYPE html>
<!-- DO NOT EDIT! This test has been generated by /html/canvas/tools/gentest.py. -->
<meta charset="UTF-8">
<title>Canvas test: 2d.path.clip.scale</title>
<h1>2d.path.clip.scale</h1>
<p class="desc">clip() with non-identity transform applies the correct clip region</p>
<canvas id="canvas" width="200" height="200">
<p class="fallback">FAIL (fallback content)</p>
</canvas>
<script>
const canvas = document.getElementById("canvas");
const ctx = canvas.getContext('2d');
ctx.fillStyle = 'green';
ctx.fillRect(0, 0, 200, 200);
</script>