Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / svg / custom / svg-image-par-resize.html
blob1850364462c75b13dd47aa1c4296c057fe89087e
1 <!DOCTYPE html>
2 <script src="../../fast/repaint/resources/text-based-repaint.js"></script>
3 <script>
4 window.testIsAsync = true;
5 </script>
6 <body onload="runRepaintTest()">
7 <svg width="300" height="200">
8 <image width="200" height="200" preserveAspectRatio="none"
9 xlink:href="data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' width='50' height='50'><rect width='100%' height='100%' fill='green'/></svg>"></image>
10 </svg>
11 <script>
12 function repaintTest() {
13 document.querySelector('image').setAttribute('width', 100);
14 requestAnimationFrame(function() {
15 requestAnimationFrame(function() {
16 finishRepaintTest();
17 });
18 });
20 </script>
21 </body>