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

Unified Diff: LayoutTests/svg/css/cursor-replace.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
Index: LayoutTests/svg/css/cursor-replace.svg
diff --git a/LayoutTests/svg/css/cursor-replace.svg b/LayoutTests/svg/css/cursor-replace.svg
index d50293f8025f6c6b8c2d87d5be5e62a8503b9a9f..c19debc7938d413813e0fbd735cb017ead09c8d8 100644
--- a/LayoutTests/svg/css/cursor-replace.svg
+++ b/LayoutTests/svg/css/cursor-replace.svg
@@ -1,39 +1,39 @@
-<svg version="1.1" xmlns="http://www.w3.org/2000/svg">
-<script>
-function runTest() {
- g.offsetTop;
- g.removeChild(g.firstChild);
- if (g.firstChild)
- setTimeout(runTest(),0);
- else
- location.reload();
-}
-
-window.onload = function() {
- if (window.testRunner) {
- testRunner.dumpAsText();
- testRunner.waitUntilDone();
- }
-
- g = document.getElementById("g1");
- if (location.hash != "#2") {
- if (location.hash)
- location.hash = "#" + (parseInt(location.hash.slice(1)) + 1).toString();
- else
- location.hash = "#1";
- document.getElementById("g2").style.setProperty('cursor', 'url(#c2)');
- setTimeout(runTest(),0);
- } else {
- document.getElementById("t1").appendChild(document.createTextNode("PASS: Successfully changed cursors."));
- if (window.testRunner)
- testRunner.notifyDone();
- }
-}
-</script>
-<g id="g1">
- <cursor id="c1"></cursor>
- <g cursor="url(#c1)" id="g2"></g>
- <cursor id="c2"></cursor>
- <text id="t1" x="20" y="20"></text>
-</g>
-</svg>
+<svg version="1.1" xmlns="http://www.w3.org/2000/svg">
+<script>
+function runTest() {
+ g.offsetTop;
+ g.removeChild(g.firstChild);
+ if (g.firstChild)
+ setTimeout(runTest(),0);
+ else
+ location.reload();
+}
+
+window.onload = function() {
+ if (window.testRunner) {
+ testRunner.dumpAsText();
+ testRunner.waitUntilDone();
+ }
+
+ g = document.getElementById("g1");
+ if (location.hash != "#2") {
+ if (location.hash)
+ location.hash = "#" + (parseInt(location.hash.slice(1)) + 1).toString();
+ else
+ location.hash = "#1";
+ document.getElementById("g2").style.setProperty('cursor', 'url(#c2)');
+ setTimeout(runTest(),0);
+ } else {
+ document.getElementById("t1").appendChild(document.createTextNode("PASS: Successfully changed cursors."));
+ if (window.testRunner)
+ testRunner.notifyDone();
+ }
+}
+</script>
+<g id="g1">
+ <cursor id="c1"></cursor>
+ <g cursor="url(#c1)" id="g2"></g>
+ <cursor id="c2"></cursor>
+ <text id="t1" x="20" y="20"></text>
+</g>
+</svg>
« no previous file with comments | « LayoutTests/svg/clip-path/opacity-assertion-expected.svg ('k') | LayoutTests/svg/css/invalid-color-crash.svg » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698