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

Side by Side Diff: LayoutTests/fast/canvas/canvas-getImageData-rounding.html

Issue 48903019: Delete js-test-post.js. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 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 | Annotate | Revision Log
OLDNEW
1 <!DOCTYPE html> 1 <!DOCTYPE html>
2 <html> 2 <html>
3 <head> 3 <head>
4 <script src="../js/resources/js-test-pre.js"></script> 4 <script src="../js/resources/js-test-pre.js"></script>
5 </head> 5 </head>
6 <body> 6 <body>
7 <script> 7 <script>
8 description("Test the handling of non-integer source coordinates in getImageData ()."); 8 description("Test the handling of non-integer source coordinates in getImageData ().");
9 9
10 ctx = document.createElement('canvas').getContext('2d'); 10 ctx = document.createElement('canvas').getContext('2d');
(...skipping 20 matching lines...) Expand all
31 // Width straddles a pixel boundary 31 // Width straddles a pixel boundary
32 dimensionsShouldBe( .9, 0, .2, 10, 2, 10); 32 dimensionsShouldBe( .9, 0, .2, 10, 2, 10);
33 33
34 // Basic integer negative values 34 // Basic integer negative values
35 dimensionsShouldBe( -1, -1, 20, 10, 20, 10); 35 dimensionsShouldBe( -1, -1, 20, 10, 20, 10);
36 36
37 // Non-integer negative values 37 // Non-integer negative values
38 dimensionsShouldBe(-1.1, 0, 20, 10, 21, 10); 38 dimensionsShouldBe(-1.1, 0, 20, 10, 21, 10);
39 dimensionsShouldBe(-1.9, 0, 20, 10, 21, 10); 39 dimensionsShouldBe(-1.9, 0, 20, 10, 21, 10);
40 </script> 40 </script>
41 <script src="../js/resources/js-test-post.js"></script>
42 </body> 41 </body>
43 </html> 42 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698