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

Unified Diff: third_party/WebKit/LayoutTests/fast/canvas/canvas-filter-modified-expected.html

Issue 1886063002: Make canvas filters use the font size in effect when the filter is set (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase again Created 4 years, 8 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/canvas-filter-modified-expected.html
diff --git a/third_party/WebKit/LayoutTests/fast/canvas/canvas-filter-modified-expected.html b/third_party/WebKit/LayoutTests/fast/canvas/canvas-filter-modified-expected.html
index 84ab00e2a7e64b021fadf09ca88fbb393b97eaed..b40e54a9413624cf6c15141b0e5e3f765c06e8db 100644
--- a/third_party/WebKit/LayoutTests/fast/canvas/canvas-filter-modified-expected.html
+++ b/third_party/WebKit/LayoutTests/fast/canvas/canvas-filter-modified-expected.html
@@ -12,9 +12,10 @@
<script>
var canvas = document.getElementById('canvas');
var ctx = canvas.getContext('2d');
-ctx.filter = 'url(#blurX)';
+ctx.font = '20px sans-serif';
+ctx.filter = 'drop-shadow(0em 1em green) url(#blurX)';
ctx.fillStyle = '#0f0';
ctx.fillRect(20, 20, 20, 20);
-ctx.filter = 'url(#blurY)';
+ctx.filter = 'drop-shadow(0em 1em green) url(#blurY)';
ctx.fillRect(60, 20, 20, 20);
</script>

Powered by Google App Engine
This is Rietveld 408576698