Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / repaint / image-resize.html
blob94bafaca3a426b9558c2924406288c245c114645
1 <!DOCTYPE html>
2 <script src="resources/text-based-repaint.js"></script>
3 <script>
4 function repaintTest() {
5 var img = document.getElementsByTagName('img')[0];
6 img.style.width = '100px';
7 img.style.height = '200px';
9 onload = runRepaintTest;
10 </script>
11 <style>
12 img {
13 position: absolute;
14 top: 50px;
15 left: 0px;
16 width: 150px;
17 height: 150px;
19 </style>
20 The image should be fully repainted on resize. Passes if there is a whole apple after resize.
21 <img src="resources/apple.jpg">