Index: LayoutTests/svg/custom/remove-background-property-on-root.html |
diff --git a/LayoutTests/svg/custom/remove-background-property-on-root.html b/LayoutTests/svg/custom/remove-background-property-on-root.html |
new file mode 100644 |
index 0000000000000000000000000000000000000000..d5e3e0b1dc293253784a10ef591fef727a77ac5a |
--- /dev/null |
+++ b/LayoutTests/svg/custom/remove-background-property-on-root.html |
@@ -0,0 +1,17 @@ |
+<!DOCTYPE html> |
+<script> |
+if (window.testRunner) |
+ testRunner.waitUntilDone(); |
+window.onload = function() { |
+ setTimeout(function() { |
+ requestAnimationFrame(function() { |
+ document.querySelector('svg').style.removeProperty('background'); |
+ if (window.testRunner) |
+ testRunner.notifyDone(); |
+ }); |
+ }, 0); |
+}; |
+</script> |
+<div style="width: 100px; height: 100px; background: green"> |
+ <svg style="background: red" width="100" height="100"></svg> |
+</div> |