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

Unified Diff: LayoutTests/svg/text/inline-text-destroy-attributes-crash.xhtml

Issue 216933006: Remove carriage returns from LayoutTests (18) (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Expectations Created 6 years, 9 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 | « LayoutTests/svg/text/font-size-too-large-crash.svg ('k') | LayoutTests/svg/text/preserve-break-word.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/svg/text/inline-text-destroy-attributes-crash.xhtml
diff --git a/LayoutTests/svg/text/inline-text-destroy-attributes-crash.xhtml b/LayoutTests/svg/text/inline-text-destroy-attributes-crash.xhtml
index bc1dd6e16b1e7f0b225465819e65af643ad469c2..6b4d01dff5cf655c064cad0c9d66718853a4d186 100644
--- a/LayoutTests/svg/text/inline-text-destroy-attributes-crash.xhtml
+++ b/LayoutTests/svg/text/inline-text-destroy-attributes-crash.xhtml
@@ -1,22 +1,22 @@
-<?xml version="1.0" encoding="UTF-8" standalone="no"?>
-<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
-<defs>
- <text id="text1">
- <tspan id="tspan1" x="906" y="250">Test passes it if does not crash</tspan>
- <tspan id="tspan2" x="447" y="108">PASS</tspan>
- </text>
-</defs>
-<use id="use1" xlink:href="#text1"/>
-<text id="text2"></text>
-<script>
- if (window.testRunner)
- testRunner.dumpAsText();
-
- var range = document.createRange();
- range.setStart(document.getElementById("use1"), 0);
- range.setEnd(document.getElementById("text2"), 0);
- (new XMLSerializer()).serializeToString(range.extractContents());
- document.getElementById('text1').offsetTop;
- range.surroundContents(document.getElementById("tspan1"));
-</script>
-</svg>
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
+<defs>
+ <text id="text1">
+ <tspan id="tspan1" x="906" y="250">Test passes it if does not crash</tspan>
+ <tspan id="tspan2" x="447" y="108">PASS</tspan>
+ </text>
+</defs>
+<use id="use1" xlink:href="#text1"/>
+<text id="text2"></text>
+<script>
+ if (window.testRunner)
+ testRunner.dumpAsText();
+
+ var range = document.createRange();
+ range.setStart(document.getElementById("use1"), 0);
+ range.setEnd(document.getElementById("text2"), 0);
+ (new XMLSerializer()).serializeToString(range.extractContents());
+ document.getElementById('text1').offsetTop;
+ range.surroundContents(document.getElementById("tspan1"));
+</script>
+</svg>
« no previous file with comments | « LayoutTests/svg/text/font-size-too-large-crash.svg ('k') | LayoutTests/svg/text/preserve-break-word.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698