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

Side by Side Diff: third_party/WebKit/LayoutTests/fast/canvas/canvas-css-crazy.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, 2 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 unified diff | Download patch
OLDNEW
(Empty)
1 <html>
2 <head>
3 <style>
4 div { background: -webkit-canvas(squares); width:600px; height:600px; border:2p x solid black }
5 </style>
6 <script>
7 if (window.testRunner)
8 testRunner.dumpAsText();
9
10 function draw(w, h) {
11 var ctx = document.getCSSCanvasContext("4d", "squares", w, h);
12 if (ctx !== null)
13 alert("FAIL! ctx wasn't null: " + ctx);
14 alert("PASS");
15 }
16 </script>
17 </head>
18 <body onload="draw(300, 300)">
19 <div></div>
20 </body>
21 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698