Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / svg / repaint / remove-background-property-on-root.html
blobe1b84e18ee7e162f04bb677c770c4b448469acc3
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.removeProperty('background');
11 if (window.testRunner)
12 finishRepaintTest();
13 });
14 }, 0);
16 </script>
17 <div style="width: 100px; height: 100px; background: green">
18 <svg style="background: red" width="100" height="100"></svg>
19 </div>