| OLD | NEW |
| 1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
| 2 <html lang="en"> | 2 <html lang="en"> |
| 3 <head> | 3 <head> |
| 4 <title>createPattern repeat test</title> | 4 <title>createPattern repeat test</title> |
| 5 <style> canvas { border:solid #000 } </style> | 5 <style> canvas { border:solid #000 } </style> |
| 6 <script> | 6 <script> |
| 7 if (window.testRunner) { | 7 if (window.testRunner) { |
| 8 testRunner.waitUntilDone(); | 8 testRunner.waitUntilDone(); |
| 9 } | 9 } |
| 10 window.onload = function(){ | 10 window.onload = function(){ |
| (...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 54 ctx.save(); | 54 ctx.save(); |
| 55 ctx.beginPath(); | 55 ctx.beginPath(); |
| 56 ctx.rect(0, 0, 150, 150); | 56 ctx.rect(0, 0, 150, 150); |
| 57 ctx.clip(); | 57 ctx.clip(); |
| 58 ctx.drawImage(i, 0, 0); | 58 ctx.drawImage(i, 0, 0); |
| 59 ctx.drawImage(i, 0, h); | 59 ctx.drawImage(i, 0, h); |
| 60 ctx.drawImage(i, 0, 2*h); | 60 ctx.drawImage(i, 0, 2*h); |
| 61 ctx.restore(); | 61 ctx.restore(); |
| 62 | 62 |
| 63 if (window.testRunner) | 63 if (window.testRunner) |
| 64 » testRunner.layoutAndPaintAsyncThen(function(){ testRunner.notifyDone
(); }); | 64 » testRunner.notifyDone(); |
| 65 } | 65 } |
| 66 } | 66 } |
| 67 </script> | 67 </script> |
| 68 </head> | 68 </head> |
| 69 <body> | 69 <body> |
| 70 <p>There should be one big square below containing four squares. Top left squa
re should be filled with 3 rows of 2 and bit Apple images. Top right square shou
ld be 2 and a bit rows with one Apple image column along the left edge of the sq
uare. Bottom left square should be one row with three Apple images along the top
of the square. Bottom right square should be one Apple image in top left corner
.</p> | 70 <p>There should be one big square below containing four squares. Top left squa
re should be filled with 3 rows of 2 and bit Apple images. Top right square shou
ld be 2 and a bit rows with one Apple image column along the left edge of the sq
uare. Bottom left square should be one row with three Apple images along the top
of the square. Bottom right square should be one Apple image in top left corner
.</p> |
| 71 <p><canvas height="330" width="330"></canvas></p> | 71 <p><canvas height="330" width="330"></canvas></p> |
| 72 </body> | 72 </body> |
| 73 </html> | 73 </html> |
| OLD | NEW |