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

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

Issue 26390004: Rework SVG sizing (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Fix mishap during rebase in svg.css Created 6 years, 8 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 <html> 1 <html>
2 <head> 2 <head>
3 <script> 3 <script>
4 function init() { 4 function init() {
5 if (!window.eventSender) 5 if (!window.eventSender)
6 return; 6 return;
7 7
8 window.eventSender.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 <style> 12 <style>
13 ::-webkit-scrollbar { 13 ::-webkit-scrollbar {
14 width: 0px; 14 width: 0px;
15 height: 0px; 15 height: 0px;
16 } 16 }
17 </style> 17 </style>
18 </head> 18 </head>
19 <p>This test passes if both of the circles have sharp edges.</p> 19 <p>This test passes if both of the circles have sharp edges.</p>
20 <p>To run manually, use full-page zoom to increase the page scale factor.</p> 20 <p>To run manually, use full-page zoom to increase the page scale factor.</p>
21 <img style="width: 128px;" src="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cD ovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxMjgiIGhlaWdodD0iMTI4Ij4KPGNpcmNsZSBmaW xsPSJibGFjayIgY3g9IjY0IiBjeT0iNjQiIHI9IjY0IiAvPgo8L3N2Zz4K"> 21 <img style="width: 128px;" src="data:image/svg+xml,<svg xmlns='http://www.w3.org /2000/svg' width='128' height='128'><circle fill='black' cx='64' cy='64' r='64'/ ></svg>">
22 <img style="width: 128px;" src="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cD ovL3d3dy53My5vcmcvMjAwMC9zdmciPgoJPGNpcmNsZSBmaWxsPSJibGFjayIgY3g9IjY0IiBjeT0iNj QiIHI9IjY0IiAvPgo8L3N2Zz4="> 22 <img style="width: 128px;" src="data:image/svg+xml,<svg xmlns='http://www.w3.org /2000/svg' viewBox='0 0 128 128'><circle fill='black' cx='64' cy='64' r='64'/></ svg>">
23 23
24 </html> 24 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698