Index: LayoutTests/css3/filters/effect-reference-rename-2.html |
diff --git a/LayoutTests/css3/filters/effect-reference-rename-2.html b/LayoutTests/css3/filters/effect-reference-rename-2.html |
new file mode 100644 |
index 0000000000000000000000000000000000000000..3f54f0b0849494684ea9de6802d3b682a074fa7c |
--- /dev/null |
+++ b/LayoutTests/css3/filters/effect-reference-rename-2.html |
@@ -0,0 +1,13 @@ |
+<!DOCTYPE html> |
+<script src="../../resources/run-after-display.js"></script> |
+<svg height="0"> |
+ <filter id="NotMyFilter"> |
+ <feColorMatrix type="hueRotate" values="90"/> |
+ </filter> |
+</svg> |
+<div style="width: 100px; height: 100px; background-color: red; -webkit-filter: url(#MyFilter); filter: url(#MyFilter);"></div> |
+<script> |
+runAfterDisplay(function() { |
+ document.getElementById("NotMyFilter").id = "MyFilter"; |
+}, true); |
+</script> |