Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(134)

Unified Diff: LayoutTests/fast/canvas/canvas-createImageBitmap-colorClamping-expected.html

Issue 1301903006: A couple of ref-test tweaks in preparation of Skia changes (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « LayoutTests/compositing/canvas-with-object-fit-contain-in-composited-layer-expected.html ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/fast/canvas/canvas-createImageBitmap-colorClamping-expected.html
diff --git a/LayoutTests/fast/canvas/canvas-createImageBitmap-colorClamping-expected.html b/LayoutTests/fast/canvas/canvas-createImageBitmap-colorClamping-expected.html
index d5b60a2f8d8d77d3b70868644dd89ac31e300410..b9356d3571b3eb874cfe53ce34820fee78f6d8fc 100644
--- a/LayoutTests/fast/canvas/canvas-createImageBitmap-colorClamping-expected.html
+++ b/LayoutTests/fast/canvas/canvas-createImageBitmap-colorClamping-expected.html
@@ -9,7 +9,14 @@ var ctx = canvas.getContext("2d");
ctx.fillStyle = 'green';
ctx.fillRect(0, 0, 100, 100);
-ctx.fillRect(120, 0, 150, 150);
+
+ctx.save();
+ctx.beginPath();
+ctx.rect(120, 0, 150, 150);
+ctx.clip();
+ctx.fillRect(0, 0, 250, 200);
+ctx.restore();
+
</script>
<p>Two green squares with no color bleeding should be visible.</p>
</body>
« no previous file with comments | « LayoutTests/compositing/canvas-with-object-fit-contain-in-composited-layer-expected.html ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698