nonuniform-scale-ref.html (532B)
1 <!DOCTYPE html> 2 <!-- Any copyright is dedicated to the Public Domain. 3 - http://creativecommons.org/publicdomain/zero/1.0/ --> 4 <head> 5 <style> 6 body { 7 border: 0px; 8 margin: 0px; 9 padding: 0px; 10 } 11 </style> 12 </head> 13 <body> 14 <img src="blue-square-in-square-par-none.svg"> 15 16 <script> 17 var sizes = location.search.substring(1).split("&"); 18 19 // Apply the size to the image. 20 var img = document.getElementsByTagName("img")[0]; 21 img.width = sizes[0]; 22 img.height = sizes[1]; 23 </script> 24 </body>