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

Side by Side Diff: LayoutTests/fast/canvas/transformed-canvas-reset.html

Issue 637763002: Unprefix usage of -webkit-transform in tests (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 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
1 <!DOCTYPE html> 1 <!DOCTYPE html>
2 <canvas id="can" width=200 height=256 style="-webkit-transform: translateZ(0)">< /canvas> 2 <canvas id="can" width=200 height=256 style="transform: translateZ(0)"></canvas>
3 Test passes if DRT doesn't crash. 3 Test passes if DRT doesn't crash.
4 <script> 4 <script>
5 var can = document.querySelector("#can"); 5 var can = document.querySelector("#can");
6 var ctx = can.getContext("2d"); 6 var ctx = can.getContext("2d");
7 ctx.fillStyle = "green"; 7 ctx.fillStyle = "green";
8 ctx.fillRect(0, 0, 300, 300); 8 ctx.fillRect(0, 0, 300, 300);
9 document.body.offsetTop; 9 document.body.offsetTop;
10 can.width = 300; 10 can.width = 300;
11 if (window.testRunner) 11 if (window.testRunner)
12 testRunner.dumpAsText(); 12 testRunner.dumpAsText();
13 </script> 13 </script>
OLDNEW
« no previous file with comments | « LayoutTests/fast/box-shadow/transform-fringing.html ('k') | LayoutTests/fast/canvas/webgl/canvas-2d-webgl-texture.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698