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

Unified Diff: third_party/WebKit/LayoutTests/fast/canvas/webgl/webgl-shadow-no-alpha.html

Issue 2629083003: Fix box shadow rendering on opaque WebGL canvases (Closed)
Patch Set: fixed tests Created 3 years, 11 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: third_party/WebKit/LayoutTests/fast/canvas/webgl/webgl-shadow-no-alpha.html
diff --git a/third_party/WebKit/LayoutTests/fast/canvas/webgl/webgl-shadow-no-alpha.html b/third_party/WebKit/LayoutTests/fast/canvas/webgl/webgl-shadow-no-alpha.html
new file mode 100644
index 0000000000000000000000000000000000000000..23051a2a49873a180a3490e9f14296c92a283ee8
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/fast/canvas/webgl/webgl-shadow-no-alpha.html
@@ -0,0 +1,7 @@
+<!DOCTYPE html>
+<p>Expect a black square with a soft red shadow below this text.</p>
+<canvas id='c' width='100' height='100' style="box-shadow: 5px 10px 0px rgba(255,0,0,0.4);"></canvas>
+<script>
+var canvas = document.getElementById('c');
+var gl = canvas.getContext('webgl', {alpha:false});
+</script>

Powered by Google App Engine
This is Rietveld 408576698