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

Unified Diff: LayoutTests/fast/canvas/canvas-css-clip-path.html

Issue 200633005: [CSS Shapes] Remove deprecated shapes (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Fix test expectations Created 6 years, 9 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-css-clip-path.html
diff --git a/LayoutTests/fast/canvas/canvas-css-clip-path.html b/LayoutTests/fast/canvas/canvas-css-clip-path.html
index 9e3adff89ccd125f05aad967ef46181e433a0e96..b829444e8de033869c6ca516a1fd17bbeddeda54 100644
--- a/LayoutTests/fast/canvas/canvas-css-clip-path.html
+++ b/LayoutTests/fast/canvas/canvas-css-clip-path.html
@@ -3,7 +3,7 @@
<body>
Test that verifies that CSS clip paths apply correctly to canvas elements. The test should show a green square inside a larger yellow square.
<div style="background-color: yellow; width:100px; height:100px">
-<canvas id="c" style="-webkit-clip-path: rectangle(10px, 10px, 80px, 80px);" width="100" height="100"></canvas>
+<canvas id="c" style="-webkit-clip-path: inset(10px);" width="100" height="100"></canvas>
</div>
<script>
var context = document.getElementById('c').getContext('2d');

Powered by Google App Engine
This is Rietveld 408576698