Index: third_party/WebKit/LayoutTests/svg/filters/color-interpolation-filters-style-update.html |
diff --git a/third_party/WebKit/LayoutTests/svg/filters/color-interpolation-filters-style-update.html b/third_party/WebKit/LayoutTests/svg/filters/color-interpolation-filters-style-update.html |
new file mode 100644 |
index 0000000000000000000000000000000000000000..683e1a05e028ad812ba1e2ab40c4710d45363f11 |
--- /dev/null |
+++ b/third_party/WebKit/LayoutTests/svg/filters/color-interpolation-filters-style-update.html |
@@ -0,0 +1,13 @@ |
+<!DOCTYPE html> |
+<script src="../../resources/run-after-layout-and-paint.js"></script> |
+<svg> |
+ <filter id="f"> |
+ <feColorMatrix type="hueRotate" values="120"/> |
+ </filter> |
+ <rect fill="red" width="100" height="100" filter="url(#f)"/> |
+</svg> |
+<script> |
+runAfterLayoutAndPaint(function() { |
+ document.getElementById('f').style.colorInterpolationFilters = 'sRGB'; |
+}, true); |
+</script> |