Index: LayoutTests/svg/repaint/tspan-pattern-update.html |
diff --git a/LayoutTests/svg/repaint/tspan-pattern-update.html b/LayoutTests/svg/repaint/tspan-pattern-update.html |
new file mode 100644 |
index 0000000000000000000000000000000000000000..eda7577ac1032d8585a98dd24f5ddca1a12ca0e3 |
--- /dev/null |
+++ b/LayoutTests/svg/repaint/tspan-pattern-update.html |
@@ -0,0 +1,17 @@ |
+<!DOCTYPE html> |
+<script src=../../fast/repaint/resources/text-based-repaint.js></script> |
+<script src=../../resources/ahem.js></script> |
+<svg> |
+ <pattern id="pat" patternUnits="userSpaceOnUse" width="200" height="200"> |
+ <rect width="200" height="100" fill="red"/> |
+ <rect y="100" width="200" height="100" fill="green"/> |
+ </pattern> |
+ <text y="80" fill="green" font-size="100" font-family="Ahem">X<tspan fill="url(#pat)">Y</tspan>Z</text> |
+</svg> |
+<script> |
+function repaintTest() { |
+ var pattern = document.querySelector('pattern'); |
+ pattern.setAttribute('y', 100); |
+} |
+onload = runRepaintTest; |
+</script> |