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

Side by Side Diff: LayoutTests/svg/as-image/image-respects-pageScaleFactor-change.html

Issue 24438004: Rename testRunner.dumpAsText(true) to testRunner.dumpAsTextWithPixelResults() (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: more tests Created 7 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 | Annotate | Revision Log
OLDNEW
1 <html> 1 <html>
2 <head> 2 <head>
3 <script> 3 <script>
4 if (window.testRunner) { 4 if (window.testRunner) {
5 testRunner.dumpAsText(1); 5 testRunner.dumpAsTextWithPixelResults();
6 testRunner.waitUntilDone(); 6 testRunner.waitUntilDone();
7 } 7 }
8 8
9 function load() { 9 function load() {
10 if (!window.eventSender) 10 if (!window.eventSender)
11 return; 11 return;
12 12
13 window.eventSender.setPageScaleFactor(2, 0, 0); 13 window.eventSender.setPageScaleFactor(2, 0, 0);
14 14
15 setTimeout(increasePageScale, 0); 15 setTimeout(increasePageScale, 0);
16 } 16 }
17 17
18 function increasePageScale() { 18 function increasePageScale() {
19 window.eventSender.setPageScaleFactor(4, 0, 0); 19 window.eventSender.setPageScaleFactor(4, 0, 0);
20 20
21 if (window.testRunner) 21 if (window.testRunner)
22 testRunner.notifyDone(); 22 testRunner.notifyDone();
23 } 23 }
24 24
25 window.onload = load; 25 window.onload = load;
26 </script> 26 </script>
27 </head> 27 </head>
28 <img style="width: 32px;" src="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDo vL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxMjgiIGhlaWdodD0iMTI4Ij4KPGNpcmNsZSBmaWx sPSJibGFjayIgY3g9IjY0IiBjeT0iNjQiIHI9IjY0IiAvPgo8L3N2Zz4K"> 28 <img style="width: 32px;" src="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDo vL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxMjgiIGhlaWdodD0iMTI4Ij4KPGNpcmNsZSBmaWx sPSJibGFjayIgY3g9IjY0IiBjeT0iNjQiIHI9IjY0IiAvPgo8L3N2Zz4K">
29 <img style="width: 128px;" src="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cD ovL3d3dy53My5vcmcvMjAwMC9zdmciPgoJPGNpcmNsZSBmaWxsPSJibGFjayIgY3g9IjY0IiBjeT0iNj QiIHI9IjY0IiAvPgo8L3N2Zz4="> 29 <img style="width: 128px;" src="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cD ovL3d3dy53My5vcmcvMjAwMC9zdmciPgoJPGNpcmNsZSBmaWxsPSJibGFjayIgY3g9IjY0IiBjeT0iNj QiIHI9IjY0IiAvPgo8L3N2Zz4=">
30 <p>This test passes if both of the circles have sharp edges.</p> 30 <p>This test passes if both of the circles have sharp edges.</p>
31 <p>To run manually, use full-page zoom to increase the page scale factor.</p> 31 <p>To run manually, use full-page zoom to increase the page scale factor.</p>
32 </html> 32 </html>
OLDNEW
« no previous file with comments | « LayoutTests/scrollbars/short-scrollbar.html ('k') | LayoutTests/svg/canvas/canvas-pattern-svg.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698