Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(234)

Unified Diff: LayoutTests/svg/repaint/text-pattern-update.html

Issue 1331053002: Propagate resource-triggered repaints to text node children of <text> (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Name/comment updates. Created 5 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | LayoutTests/svg/repaint/text-pattern-update-2.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/svg/repaint/text-pattern-update.html
diff --git a/LayoutTests/svg/repaint/text-pattern-update.html b/LayoutTests/svg/repaint/text-pattern-update.html
new file mode 100644
index 0000000000000000000000000000000000000000..bf22fec603ba3f54a69b8fd26cd963b97075e468
--- /dev/null
+++ b/LayoutTests/svg/repaint/text-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="url(#pat)" font-size="100" font-family="Ahem">X</text>
+</svg>
+<script>
+function repaintTest() {
+ var pattern = document.querySelector('pattern');
+ pattern.setAttribute('y', 100);
+}
+onload = runRepaintTest;
+</script>
« no previous file with comments | « no previous file | LayoutTests/svg/repaint/text-pattern-update-2.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698