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

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

Issue 669123002: Fixed Shadow blur for transparent objects (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Added missing virtual layout test to TestExpectations 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
deleted file mode 100644
index 7ed22da2c2b94f211b80195ce2af4e950fcaa149..0000000000000000000000000000000000000000
--- a/LayoutTests/fast/canvas/canvas-shadow-source-in-expected.html
+++ /dev/null
@@ -1,35 +0,0 @@
-<!DOCTYPE html>
-<html>
-<head>
-<title>Check shadow rendering rect and image with source-in.</title>
-<style type="text/css">
- canvas { border: 1px solid #999; }
-</style>
-</head>
-<body>
-<div>Test Rect</div>
-<canvas id="canvas-for-color" width="200" height="200"></canvas>
-<div>Test Image</div>
-<canvas id="canvas-for-image" width="200" height="200"></canvas>
-<script>
- var canvas_color = document.getElementById("canvas-for-color");
- var ctx_color = canvas_color.getContext("2d");
- drawReference(ctx_color);
-
- var canvas_image = document.getElementById("canvas-for-image");
- var ctx_image = canvas_image.getContext("2d");
- drawReference(ctx_image);
-
- function drawReference(ctx) {
- 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>
-</body>
-</html>

Powered by Google App Engine
This is Rietveld 408576698