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

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

Issue 18546003: Fix tests to avoid page scale reset when setting page scale. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Use setPageScaleFactorLimits(). Created 7 years, 4 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 function init() { 4 function init() {
5 if (!window.internals) 5 if (!window.eventSender)
6 return; 6 return;
7 7
8 window.internals.setPageScaleFactor(2, 0, 0); 8 window.eventSender.setPageScaleFactor(2, 0, 0);
9 } 9 }
10 window.onload = init; 10 window.onload = init;
11 </script> 11 </script>
12 </head> 12 </head>
13 <p>This test passes if both of the circles have sharp edges.</p> 13 <p>This test passes if both of the circles have sharp edges.</p>
14 <p>To run manually, use full-page zoom to increase the page scale factor.</p> 14 <p>To run manually, use full-page zoom to increase the page scale factor.</p>
15 <img style="width: 128px;" src="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cD ovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxMjgiIGhlaWdodD0iMTI4Ij4KPGNpcmNsZSBmaW xsPSJibGFjayIgY3g9IjY0IiBjeT0iNjQiIHI9IjY0IiAvPgo8L3N2Zz4K"> 15 <img style="width: 128px;" src="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cD ovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxMjgiIGhlaWdodD0iMTI4Ij4KPGNpcmNsZSBmaW xsPSJibGFjayIgY3g9IjY0IiBjeT0iNjQiIHI9IjY0IiAvPgo8L3N2Zz4K">
16 <img style="width: 128px;" src="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cD ovL3d3dy53My5vcmcvMjAwMC9zdmciPgoJPGNpcmNsZSBmaWxsPSJibGFjayIgY3g9IjY0IiBjeT0iNj QiIHI9IjY0IiAvPgo8L3N2Zz4="> 16 <img style="width: 128px;" src="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cD ovL3d3dy53My5vcmcvMjAwMC9zdmciPgoJPGNpcmNsZSBmaWxsPSJibGFjayIgY3g9IjY0IiBjeT0iNj QiIHI9IjY0IiAvPgo8L3N2Zz4=">
17 17
18 </html> 18 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698