Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / svg / custom / svg-image-resize-expected.html
blob7f84274235b1a910028013fe89b2cd5dde3f1eb9
1 <!DOCTYPE html>
2 <html>
3 <head>
4 <script src="../../fast/repaint/resources/text-based-repaint.js" type="text/javascript"></script>
5 <script>
6 function repaintTest() {
7 var wrapper = document.getElementById('wrapper');
8 wrapper.style.height = '200px';
10 </script>
11 </head>
13 <body onload="runRepaintAndPixelTest();">
14 <div id="wrapper" style="position: absolute; top: 0px; width: 100px; height: 100px;">
15 <img style="width: 100%; height: 100%;" src="data:image/svg+xml;utf8,
16 <svg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox = '0 0 10 10' preserveAspectRatio='xMaxYMax'>
17 <rect width='10' height='10' fill='green'/>
18 </svg>">
19 </div>
20 </body>
21 </html>