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

Unified Diff: third_party/WebKit/LayoutTests/fast/canvas/imagebitmap/transferImageBitmap-alpha-expected.html

Issue 1598923002: Add ImageBitmapRenderingContext (experimental) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: another missing adoptRef Created 4 years, 10 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/imagebitmap/transferImageBitmap-alpha-expected.html
diff --git a/third_party/WebKit/LayoutTests/fast/canvas/imagebitmap/transferImageBitmap-alpha-expected.html b/third_party/WebKit/LayoutTests/fast/canvas/imagebitmap/transferImageBitmap-alpha-expected.html
new file mode 100644
index 0000000000000000000000000000000000000000..21c0f0b09d134b16e42efa3fe5c8b7a3459a23a2
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/fast/canvas/imagebitmap/transferImageBitmap-alpha-expected.html
@@ -0,0 +1,7 @@
+<!DOCTYPE html>
+<canvas id = 'c' width='100' height='100' style='background-color:red;'></canvas>
+<script>
+var ctx = document.getElementById('c').getContext('2d', { alpha: true });
+ctx.fillStyle = 'rgba(0, 255, 0, 0.5)';
+ctx.fillRect(0, 0, 100, 100);
+</script>

Powered by Google App Engine
This is Rietveld 408576698