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

Unified Diff: LayoutTests/editing/execCommand/insert-list-xml.xhtml

Issue 217003006: Remove carriage returns from LayoutTests (01) (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Fix caret-and-focus-ring 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/editing/execCommand/insert-list-xml.xhtml
diff --git a/LayoutTests/editing/execCommand/insert-list-xml.xhtml b/LayoutTests/editing/execCommand/insert-list-xml.xhtml
index a0acbeafb09c5446a8985d0337c623fec3c08865..fac081a7adae6f6faff0e1d07afefe431856ed03 100644
--- a/LayoutTests/editing/execCommand/insert-list-xml.xhtml
+++ b/LayoutTests/editing/execCommand/insert-list-xml.xhtml
@@ -1,31 +1,31 @@
-<mat:diff xmlns:mat="http://www.w3.org/1998/Math/MathML">
- <html xmlns="http://www.w3.org/1999/xhtml">
- <head>
- <script type="text/javascript">
- if (window.testRunner)
- testRunner.dumpAsText();
-
- function start()
- {
- // select the span that's editable
- document.getElementById("insertlisthere").focus();
-
- // insert an ordered list into the span
- document.execCommand("insertorderedlist", false, null);
- log(document.getElementById("insertlisthere").outerHTML);
- log("PASS");
- }
- function log(str) {
- var li = document.createElement("li");
- li.appendChild(document.createTextNode(str));
- var console = document.getElementById("console");
- console.appendChild(li);
- }
- </script>
- </head>
- <body onload="start();">
- <div contenteditable="true" id="insertlisthere">.</div>
- <ul id="console"></ul>
- </body>
- </html>
-</mat:diff>
+<mat:diff xmlns:mat="http://www.w3.org/1998/Math/MathML">
+ <html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <script type="text/javascript">
+ if (window.testRunner)
+ testRunner.dumpAsText();
+
+ function start()
+ {
+ // select the span that's editable
+ document.getElementById("insertlisthere").focus();
+
+ // insert an ordered list into the span
+ document.execCommand("insertorderedlist", false, null);
+ log(document.getElementById("insertlisthere").outerHTML);
+ log("PASS");
+ }
+ function log(str) {
+ var li = document.createElement("li");
+ li.appendChild(document.createTextNode(str));
+ var console = document.getElementById("console");
+ console.appendChild(li);
+ }
+ </script>
+ </head>
+ <body onload="start();">
+ <div contenteditable="true" id="insertlisthere">.</div>
+ <ul id="console"></ul>
+ </body>
+ </html>
+</mat:diff>

Powered by Google App Engine
This is Rietveld 408576698