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

Side by Side Diff: third_party/WebKit/LayoutTests/fast/images/content-url-canvas.html

Issue 1416793004: Remove support for -webkit-canvas and Document.getCSSCanvasContext. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 1 month 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 unified diff | Download patch
OLDNEW
(Empty)
1 <!DOCTYPE html>
2 <style>
3 img { content: -webkit-canvas(img); width: 24px; height: 24px; }
4 </style>
5 <img>
6 <p> crbug.com/521152: Tests for crash introduced by r200510: should display a gr een square.</p>
7 <script>
8 var ctx = document.getCSSCanvasContext("2d", "img", 24, 24);
9 ctx.fillStyle = "rgb(0,255,1)";
10 ctx.fillRect (0, 0, 24, 24);
11 </script>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698