Dynamic background color changes do not update until a layout is forced
[WebKit-https.git] / LayoutTests / svg / repaint / remove-background-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.removeProperty("background");
9         if (window.testRunner)
10             window.testRunner.notifyDone();
11     });
12 };
13 </script>
14 <div style="width: 100px; height: 100px; background: green">
15     <svg style="background: red" width="100" height="100"></svg>
16 </div>