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

Unified Diff: third_party/WebKit/LayoutTests/svg/repaint/text-pattern-update-2-expected.html

Issue 1994373002: Convert some repaint tests into ref tests (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 7 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
Index: third_party/WebKit/LayoutTests/svg/repaint/text-pattern-update-2-expected.html
diff --git a/third_party/WebKit/LayoutTests/svg/repaint/text-pattern-update-2.html b/third_party/WebKit/LayoutTests/svg/repaint/text-pattern-update-2-expected.html
similarity index 59%
copy from third_party/WebKit/LayoutTests/svg/repaint/text-pattern-update-2.html
copy to third_party/WebKit/LayoutTests/svg/repaint/text-pattern-update-2-expected.html
index f6cf227c1bc5bb3c78bcd6189019f6057a6a59e1..7873cf3924bb41a0addba13b7b6ff50aecaf0057 100644
--- a/third_party/WebKit/LayoutTests/svg/repaint/text-pattern-update-2.html
+++ b/third_party/WebKit/LayoutTests/svg/repaint/text-pattern-update-2-expected.html
@@ -1,17 +1,9 @@
<!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">
+ <pattern id="pat" patternUnits="userSpaceOnUse" width="200" height="200" y="100">
<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<tspan fill="green">Y</tspan>Z</text>
</svg>
-<script>
-function repaintTest() {
- var pattern = document.querySelector('pattern');
- pattern.setAttribute('y', 100);
-}
-onload = runRepaintTest;
-</script>

Powered by Google App Engine
This is Rietveld 408576698