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

Unified Diff: LayoutTests/svg/custom/use-instanceRoot-with-use-removed.svg

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/custom/use-events-crash.svg ('k') | LayoutTests/svg/custom/use-invalid-html.xhtml » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/svg/custom/use-instanceRoot-with-use-removed.svg
diff --git a/LayoutTests/svg/custom/use-instanceRoot-with-use-removed.svg b/LayoutTests/svg/custom/use-instanceRoot-with-use-removed.svg
index 458b70cc94960874352ca575062579881784e6fb..2d7b0a3ea83dc553ffcbb5a1d38b7a602e5ba19e 100644
--- a/LayoutTests/svg/custom/use-instanceRoot-with-use-removed.svg
+++ b/LayoutTests/svg/custom/use-instanceRoot-with-use-removed.svg
@@ -1,33 +1,33 @@
-<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
-<script>
-<![CDATA[
-if (window.testRunner) {
- testRunner.dumpAsText();
- testRunner.waitUntilDone();
- gc = function(){window.GCController.collect()};
-} else if (!window.gc)
- gc = function(){};
-
-window.onload = function(){
- if (location.hash != "#2") {
- if (location.hash)
- location.hash = "#" + (parseInt(location.hash.slice(1)) + 1).toString();
- else
- location.hash = "#1";
- var ir = document.getElementById("use1").instanceRoot;
- ir.correspondingUseElement.parentElement.removeChild(ir.correspondingUseElement);
- gc();
- ir.correspondingUseElement;
- setTimeout(function(){location.reload()},0);
- } else {
- document.getElementById("t1").appendChild(document.createTextNode("PASS: Successfully removed use element."));
- if (window.testRunner)
- testRunner.notifyDone();
- }
-}
-//]]>
-</script>
-<g id="g1" />
-<use xlink:href="#g1" id="use1" />
-<text x="20" y="20" fill="green" id="t1"></text>
-</svg>
+<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
+<script>
+<![CDATA[
+if (window.testRunner) {
+ testRunner.dumpAsText();
+ testRunner.waitUntilDone();
+ gc = function(){window.GCController.collect()};
+} else if (!window.gc)
+ gc = function(){};
+
+window.onload = function(){
+ if (location.hash != "#2") {
+ if (location.hash)
+ location.hash = "#" + (parseInt(location.hash.slice(1)) + 1).toString();
+ else
+ location.hash = "#1";
+ var ir = document.getElementById("use1").instanceRoot;
+ ir.correspondingUseElement.parentElement.removeChild(ir.correspondingUseElement);
+ gc();
+ ir.correspondingUseElement;
+ setTimeout(function(){location.reload()},0);
+ } else {
+ document.getElementById("t1").appendChild(document.createTextNode("PASS: Successfully removed use element."));
+ if (window.testRunner)
+ testRunner.notifyDone();
+ }
+}
+//]]>
+</script>
+<g id="g1" />
+<use xlink:href="#g1" id="use1" />
+<text x="20" y="20" fill="green" id="t1"></text>
+</svg>
« no previous file with comments | « LayoutTests/svg/custom/use-events-crash.svg ('k') | LayoutTests/svg/custom/use-invalid-html.xhtml » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698