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> |