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

Side by Side Diff: LayoutTests/fast/canvas/canvas-measureText.html

Issue 11808004: Merge 138994 (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-measureText-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 <!DOCTYPE html> 1 <!DOCTYPE html>
2 <html> 2 <html>
3 <body> 3 <body>
4 <p>Regression test for bug <a href="http://webkit.org/b/106244">106244</a></p> 4 <p>Regression test for bug <a href="http://webkit.org/b/106244">106244</a></p>
5 <p>Test passes by not crashing.</p> 5 <p>Test passes by not crashing.</p>
6 <canvas id="test"></canvas> 6 <canvas id="test"></canvas>
7 </body> 7 </body>
8 <script> 8 <script>
9 if (window.testRunner) 9 if (window.testRunner)
10 testRunner.dumpAsText(); 10 testRunner.dumpAsText();
11 11
12 var canvas = document.getElementById("test"); 12 var canvas = document.getElementById("test");
13 var context = canvas.getContext("2d"); 13 var context = canvas.getContext("2d");
14 for (x = 0; x < 100; x++) { 14 for (x = 0; x < 100; x++) {
15 context.restore(); 15 context.restore();
16 context.save(); 16 context.save();
17 context.save(); 17 context.save();
18 context.measureText("a", 0, 0, 0); 18 context.measureText("a", 0, 0, 0);
19 } 19 }
20 </script> 20 </script>
21 </html> 21 </html>
OLDNEW
« no previous file with comments | « no previous file | LayoutTests/fast/canvas/canvas-measureText-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698