Dynamic background color changes do not update until a layout is forced
[WebKit-https.git] / LayoutTests / svg / repaint / add-outline-property-on-root.html
1 <!DOCTYPE html>
2 <script>
3 if (window.testRunner)
4     testRunner.waitUntilDone();
5
6 window.onload = function() {
7     requestAnimationFrame(function() {
8         document.querySelector("svg").style.outline = "10px solid green";
9         if (window.testRunner)
10             window.testRunner.notifyDone();
11     });
12 };
13 </script>
14 <svg width="100" height="100">
15     <rect width="100" height="100" fill="blue"/>
16 </svg>