img-content-outside-viewBox-1.html (611B)
1 <html> 2 <!-- Simple test to make sure we can display content outside of an SVG viewbox, 3 if appropriate given the SVG image & our <img> dimensions. In this case, 4 we have a perfect-square viewBox, but our img elements are long 5 rectangles, so they should end up sampling some content off of one side or 6 the other of the viewBox. --> 7 <body> 8 <img src="content-outside-viewBox-1-helper.svg" height="10" width="100" 9 style="border: 1px solid blue"> 10 <br/> 11 <img src="content-outside-viewBox-1-helper.svg" height="100" width="10" 12 style="border: 1px solid purple "> 13 </body> 14 </html>