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

Unified Diff: LayoutTests/fast/canvas/canvas-shadow-source-in-expected.html

Issue 658603002: 2D canvas: fix shadow rendering with compositing modes that require temp layers (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: comment fix Created 6 years, 2 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
Index: LayoutTests/fast/canvas/canvas-shadow-source-in-expected.html
diff --git a/LayoutTests/fast/canvas/canvas-shadow-source-in-expected.html b/LayoutTests/fast/canvas/canvas-shadow-source-in-expected.html
new file mode 100644
index 0000000000000000000000000000000000000000..9a9eafb716abe5813ca57a9c867714776e5c8f2a
--- /dev/null
+++ b/LayoutTests/fast/canvas/canvas-shadow-source-in-expected.html
@@ -0,0 +1,14 @@
+<!DOCTYPE html>
+<canvas id="c" width="200" height="200"></canvas>
+<script>
+ var canvas = document.getElementById("c");
+ var ctx = canvas.getContext("2d");
+ ctx.beginPath()
+ ctx.rect(100,100,150,50);
+ ctx.clip();
+ ctx.shadowColor = 'teal';
+ ctx.shadowBlur = 10;
+ ctx.shadowOffsetX = -310;
+ ctx.fillStyle = 'teal';
+ ctx.fillRect(300,0,200,200);
+</script>
« no previous file with comments | « LayoutTests/fast/canvas/canvas-shadow-source-in.html ('k') | Source/core/html/canvas/CanvasRenderingContext2D.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698