Index: LayoutTests/svg/custom/add-background-property-on-root.html |
diff --git a/LayoutTests/svg/custom/add-background-property-on-root.html b/LayoutTests/svg/custom/add-background-property-on-root.html |
new file mode 100644 |
index 0000000000000000000000000000000000000000..8b1d0c5987a38aa68805b556cdf7014e039c2658 |
--- /dev/null |
+++ b/LayoutTests/svg/custom/add-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.background = "green"; |
+ if (window.testRunner) |
+ testRunner.notifyDone(); |
+ }); |
+ }, 0); |
+}; |
+</script> |
+<div style="width: 100px; height: 100px; background: red"> |
+ <svg width="100" height="100"></svg> |
+</div> |