| Index: LayoutTests/svg/custom/svg-image-par-resize.html
|
| diff --git a/LayoutTests/svg/custom/svg-image-par-resize.html b/LayoutTests/svg/custom/svg-image-par-resize.html
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..3db87d5b4d941c86c6364a5a224d8249bc79f4da
|
| --- /dev/null
|
| +++ b/LayoutTests/svg/custom/svg-image-par-resize.html
|
| @@ -0,0 +1,22 @@
|
| +<!DOCTYPE html>
|
| +<script src="../../fast/repaint/resources/text-based-repaint.js"></script>
|
| +<script src="../../resources/run-after-display.js"></script>
|
| +<script>
|
| +window.testIsAsync = true;
|
| +</script>
|
| +<body onload="runRepaintTest()">
|
| +<svg width="300" height="200">
|
| + <image width="200" height="200" preserveAspectRatio="none"
|
| + 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>
|
| +</svg>
|
| +<script>
|
| +function repaintTest() {
|
| + document.querySelector('image').setAttribute('width', 100);
|
| + requestAnimationFrame(function() {
|
| + requestAnimationFrame(function() {
|
| + finishRepaintTest();
|
| + });
|
| + });
|
| +}
|
| +</script>
|
| +</body>
|
|
|