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

Unified Diff: third_party/WebKit/LayoutTests/fast/canvas/canvas-filter-units-em-liveness.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-units-em-liveness.html
diff --git a/third_party/WebKit/LayoutTests/fast/canvas/canvas-filter-units-em-liveness.html b/third_party/WebKit/LayoutTests/fast/canvas/canvas-filter-units-em-liveness.html
index c791bf90e4b40cd7d72dc01ea5b4d11ce81bab69..ce7279f7d61e000f06c021a165e0898e46fec4a0 100644
--- a/third_party/WebKit/LayoutTests/fast/canvas/canvas-filter-units-em-liveness.html
+++ b/third_party/WebKit/LayoutTests/fast/canvas/canvas-filter-units-em-liveness.html
@@ -4,8 +4,9 @@ var canvas = document.getElementById('canvas');
var ctx = canvas.getContext('2d');
ctx.font = '20px sans-serif';
ctx.filter = 'drop-shadow(0em 1em green)';
+ctx.font = '5px sans-serif';
ctx.fillStyle = 'green';
ctx.fillRect(25, 25, 25, 30);
ctx.font = '10px sans-serif';
-ctx.fillRect(50, 25, 25, 40);
+ctx.fillRect(60, 25, 25, 30);
</script>

Powered by Google App Engine
This is Rietveld 408576698