2 <script src="../../fast/repaint/resources/text-based-repaint.js"></script>
4 window.testIsAsync = true;
5 window.onload = runRepaintTest;
7 function repaintTest() {
8 var svg = document.querySelector('svg');
9 setTimeout(function() {
10 svg.style.backgroundColor = "green";
11 requestAnimationFrame(function() {
12 if (window.testRunner)
18 <svg width="200px" height="100px" viewBox="0 0 100 100"
19 style="background-color: red">