Index: LayoutTests/svg/custom/change-background-color.html |
diff --git a/LayoutTests/svg/custom/change-background-color.html b/LayoutTests/svg/custom/change-background-color.html |
new file mode 100644 |
index 0000000000000000000000000000000000000000..8f07d074b48e0a446333052c73a3d79e98117016 |
--- /dev/null |
+++ b/LayoutTests/svg/custom/change-background-color.html |
@@ -0,0 +1,18 @@ |
+<!DOCTYPE HTML> |
+<script> |
+if (window.testRunner) |
+ testRunner.waitUntilDone(); |
+window.onload = function() { |
+ var svg = document.querySelector('svg'); |
+ setTimeout(function() { |
+ svg.style.backgroundColor = "green"; |
+ requestAnimationFrame(function() { |
+ if (window.testRunner) |
+ testRunner.notifyDone(); |
+ }); |
+ }, 0); |
+}; |
+</script> |
+<svg width="200px" height="100px" viewBox="0 0 100 100" |
+ style="background-color: red"> |
+</svg> |