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