Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / svg / custom / image-rescale-clip.html
blob4300157e4eee53a61ab0d6998efe4f01dbbf7133
1 <html>
2 <!--
3 This test checks for the regression bug that causes white, horizontal blank bars
4 -->
5 <body style="overflow:hidden;">
6 <!-- It is important for the image to be loaded with only a small amount showing,
7 as ImageSkia will only do a partial load in this case, which is required to
8 trigger the regression. -->
9 <div style="position: absolute; clip:rect(0px,150px,15px,0px);">
10 <img id = "pic" src="resources/image-rescale.jpg" width="160" height="105" style="position: relative; top: 5px; left: 5px;">
11 <!-- Rescaled to 1/2 normal size, required to trigger the regression. -->
12 </div><br />
13 <div>
14 <p>This test verifies correct paint of clipped, scaled images.</p>
15 </div>
16 </body>
17 </html>