Index: LayoutTests/svg/repaint/remove-background-property-on-root.html |
diff --git a/LayoutTests/svg/repaint/remove-background-property-on-root.html b/LayoutTests/svg/repaint/remove-background-property-on-root.html |
new file mode 100644 |
index 0000000000000000000000000000000000000000..e1b84e18ee7e162f04bb677c770c4b448469acc3 |
--- /dev/null |
+++ b/LayoutTests/svg/repaint/remove-background-property-on-root.html |
@@ -0,0 +1,19 @@ |
+<!DOCTYPE html> |
+<script src="../../fast/repaint/resources/text-based-repaint.js"></script> |
+<script> |
+window.testIsAsync = true; |
+window.onload = runRepaintTest; |
+ |
+function repaintTest() { |
+ setTimeout(function() { |
+ requestAnimationFrame(function() { |
+ document.querySelector('svg').style.removeProperty('background'); |
+ if (window.testRunner) |
+ finishRepaintTest(); |
+ }); |
+ }, 0); |
+}; |
+</script> |
+<div style="width: 100px; height: 100px; background: green"> |
+ <svg style="background: red" width="100" height="100"></svg> |
+</div> |