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

Unified Diff: LayoutTests/fast/text/resources/word-break-next-linebox-not-dirty-crash.html

Issue 216553010: Remove carriage returns from LayoutTests (04) (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: 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/fast/text/resources/line-breaks-crlf.txt ('k') | LayoutTests/fast/text/split-text-crash.xhtml » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/fast/text/resources/word-break-next-linebox-not-dirty-crash.html
diff --git a/LayoutTests/fast/text/resources/word-break-next-linebox-not-dirty-crash.html b/LayoutTests/fast/text/resources/word-break-next-linebox-not-dirty-crash.html
index cec1965647ad212995000b152892e7775a8da7fc..12251ebb354fe76918d890e32d57b2cbf597f7c2 100644
--- a/LayoutTests/fast/text/resources/word-break-next-linebox-not-dirty-crash.html
+++ b/LayoutTests/fast/text/resources/word-break-next-linebox-not-dirty-crash.html
@@ -1,44 +1,44 @@
-<html>
-<body onload="runTest();">
-<audio>a</audio>a
-<center></center>
-aaaaaaaaaaaaaaaaaaa
-<wbr id="wbr"/>
-<span>aaaaaaaaaaaaa</span>
-<script>
-function reference(domNode)
-{
- this.domNode = domNode;
-}
-function walk(a, currentPrefix, index, domNode)
-{
- if (domNode == null)
- return;
- newPrefix = currentPrefix + "_" + index;
- walk(a, currentPrefix, index + 1, domNode.nextSibling);
- walk(a, newPrefix, 0, domNode.firstChild);
- a[newPrefix] = new reference(domNode);
-}
-function clearAllNodes()
-{
- var a = new Array();
- walk(a, "", 0, document.body);
- for (key in a)
- {
- document.body.offsetTop;
- a[key].domNode.parentNode.removeChild(a[key].domNode);
- }
-}
-function runTest() {
- var font = document.createElement('font');
- document.getElementById('wbr').appendChild(font);
- document.body.offsetTop;
- clearAllNodes();
-
- if (window.testRunner)
- testRunner.notifyDone();
-}
-</script>
-</body>
-</html>
-
+<html>
+<body onload="runTest();">
+<audio>a</audio>a
+<center></center>
+aaaaaaaaaaaaaaaaaaa
+<wbr id="wbr"/>
+<span>aaaaaaaaaaaaa</span>
+<script>
+function reference(domNode)
+{
+ this.domNode = domNode;
+}
+function walk(a, currentPrefix, index, domNode)
+{
+ if (domNode == null)
+ return;
+ newPrefix = currentPrefix + "_" + index;
+ walk(a, currentPrefix, index + 1, domNode.nextSibling);
+ walk(a, newPrefix, 0, domNode.firstChild);
+ a[newPrefix] = new reference(domNode);
+}
+function clearAllNodes()
+{
+ var a = new Array();
+ walk(a, "", 0, document.body);
+ for (key in a)
+ {
+ document.body.offsetTop;
+ a[key].domNode.parentNode.removeChild(a[key].domNode);
+ }
+}
+function runTest() {
+ var font = document.createElement('font');
+ document.getElementById('wbr').appendChild(font);
+ document.body.offsetTop;
+ clearAllNodes();
+
+ if (window.testRunner)
+ testRunner.notifyDone();
+}
+</script>
+</body>
+</html>
+
« no previous file with comments | « LayoutTests/fast/text/resources/line-breaks-crlf.txt ('k') | LayoutTests/fast/text/split-text-crash.xhtml » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698