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

Side by Side Diff: LayoutTests/fast/canvas/canvas-imageSmoothingEnabled-zero-size.html

Issue 12039021: Merge 140057 (Closed) Base URL: http://svn.webkit.org/repository/webkit/branches/chromium/1364/
Patch Set: Created 7 years, 11 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
« no previous file with comments | « no previous file | LayoutTests/fast/canvas/canvas-imageSmoothingEnabled-zero-size-expected.txt » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 1
2 <!doctype html> 2 <!doctype html>
3 <html> 3 <html>
4 <body> 4 <body>
5 This test passes by not crashing ! 5 This test passes by not crashing !
6 <script> 6 <script>
7 if (window.testRunner) { 7 if (window.testRunner) {
8 testRunner.dumpAsText(); 8 testRunner.dumpAsText();
9 } 9 }
10 window.onload = function () { 10 window.onload = function () {
11 var canvas = document.createElement('canvas'); 11 var canvas = document.createElement('canvas');
12 canvas.width = 0; 12 canvas.width = 0;
13 canvas.height = 0; 13 canvas.height = 0;
14 var context = canvas.getContext('2d'); 14 var context = canvas.getContext('2d');
15 if(context.webkitImageSmoothingEnabled) {context.webkitImageSmoo thingEnabled = false;} 15 if(context.webkitImageSmoothingEnabled) {context.webkitImageSmoo thingEnabled = false;}
16 }; 16 };
17 </script> 17 </script>
18 </body> 18 </body>
19 </html> 19 </html>
20 20
OLDNEW
« no previous file with comments | « no previous file | LayoutTests/fast/canvas/canvas-imageSmoothingEnabled-zero-size-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698