| Index: LayoutTests/svg/repaint/change-background-color.html
|
| diff --git a/LayoutTests/svg/repaint/change-background-color.html b/LayoutTests/svg/repaint/change-background-color.html
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..4a8bc167b9148f260559f98e0be799e016a104a0
|
| --- /dev/null
|
| +++ b/LayoutTests/svg/repaint/change-background-color.html
|
| @@ -0,0 +1,20 @@
|
| +<!DOCTYPE HTML>
|
| +<script src="../../fast/repaint/resources/text-based-repaint.js"></script>
|
| +<script>
|
| +window.testIsAsync = true;
|
| +window.onload = runRepaintTest;
|
| +
|
| +function repaintTest() {
|
| + var svg = document.querySelector('svg');
|
| + setTimeout(function() {
|
| + svg.style.backgroundColor = "green";
|
| + requestAnimationFrame(function() {
|
| + if (window.testRunner)
|
| + finishRepaintTest();
|
| + });
|
| + }, 0);
|
| +};
|
| +</script>
|
| +<svg width="200px" height="100px" viewBox="0 0 100 100"
|
| + style="background-color: red">
|
| +</svg>
|
|
|