Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / svg / repaint / add-background-property-on-root.html
blobbacab508718250a6f8b6f088622e26affe0d5ffb
1 <!DOCTYPE html>
2 <script src="../../fast/repaint/resources/text-based-repaint.js"></script>
3 <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)
12 finishRepaintTest();
13 });
14 }, 0);
16 </script>
17 <div style="width: 100px; height: 100px; background: red">
18 <svg width="100" height="100"></svg>
19 </div>