Index: LayoutTests/svg/repaint/add-outline-property-on-root.html |
diff --git a/LayoutTests/svg/repaint/add-outline-property-on-root.html b/LayoutTests/svg/repaint/add-outline-property-on-root.html |
new file mode 100644 |
index 0000000000000000000000000000000000000000..c2a0b7722fadfe2d2e6cd4954b1ab020f3949377 |
--- /dev/null |
+++ b/LayoutTests/svg/repaint/add-outline-property-on-root.html |
@@ -0,0 +1,20 @@ |
+<!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.outline = "10px solid green"; |
+ if (window.testRunner) |
+ finishRepaintTest(); |
+ }); |
+ }, 0); |
+}; |
+</script> |
+<svg width="100" height="100"> |
+ <rect width="100" height="100" fill="blue"/> |
+</svg> |
+ |