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

Unified Diff: LayoutTests/tables/mozilla/bugs/bug119786.html

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/tables/mozilla/bugs/bug119786.html
diff --git a/LayoutTests/tables/mozilla/bugs/bug119786.html b/LayoutTests/tables/mozilla/bugs/bug119786.html
index 10738fc03b251eb114a7a6fc390de5423eb26712..62535c3ac4bc73cfac8bb621547707d6dd283873 100644
--- a/LayoutTests/tables/mozilla/bugs/bug119786.html
+++ b/LayoutTests/tables/mozilla/bugs/bug119786.html
@@ -1,48 +1,48 @@
<html><head>
-<title>table creation</title><style type="text/css">
-caption { color: green; background-color: lightyellow; }
+<title>table creation</title><style type="text/css">
+caption { color: green; background-color: lightyellow; }
</style>
-<script type="text/javascript">
-function createTable (caption) {
- var table = document.createElement('table');
- table.border = 1;
- document.body.appendChild(table);
- if (caption) {
- table.createCaption();
- table.caption.appendChild(document.createTextNode(caption));
- }
- table.createTHead();
- var row = table.tHead.insertRow(table.tHead.rows.length);
- row.insertCell(0).appendChild(document.createTextNode('Header'));
-
- table.appendChild(document.createElement('tbody'));
- row = table.tBodies[0].insertRow(table.tBodies[0].rows.length);
- row.insertCell(0).appendChild(document.createTextNode('Kibology'));
-}
-function createTable1 (caption) {
- var table = document.createElement('table');
- table.border = 1;
- if (caption) {
- table.createCaption();
- table.caption.appendChild(document.createTextNode(caption));
- }
- table.createTHead();
- var row = table.tHead.insertRow(table.tHead.rows.length);
- row.insertCell(0).appendChild(document.createTextNode('Header'));
-
- table.appendChild(document.createElement('tbody'));
- row = table.tBodies[0].insertRow(table.tBodies[0].rows.length);
- row.insertCell(0).appendChild(document.createTextNode('Kibology'));
- document.body.appendChild(table);
-
+<script type="text/javascript">
+function createTable (caption) {
+ var table = document.createElement('table');
+ table.border = 1;
+ document.body.appendChild(table);
+ if (caption) {
+ table.createCaption();
+ table.caption.appendChild(document.createTextNode(caption));
+ }
+ table.createTHead();
+ var row = table.tHead.insertRow(table.tHead.rows.length);
+ row.insertCell(0).appendChild(document.createTextNode('Header'));
+
+ table.appendChild(document.createElement('tbody'));
+ row = table.tBodies[0].insertRow(table.tBodies[0].rows.length);
+ row.insertCell(0).appendChild(document.createTextNode('Kibology'));
+}
+function createTable1 (caption) {
+ var table = document.createElement('table');
+ table.border = 1;
+ if (caption) {
+ table.createCaption();
+ table.caption.appendChild(document.createTextNode(caption));
+ }
+ table.createTHead();
+ var row = table.tHead.insertRow(table.tHead.rows.length);
+ row.insertCell(0).appendChild(document.createTextNode('Header'));
+
+ table.appendChild(document.createElement('tbody'));
+ row = table.tBodies[0].insertRow(table.tBodies[0].rows.length);
+ row.insertCell(0).appendChild(document.createTextNode('Kibology'));
+ document.body.appendChild(table);
+
}</script></head>
<body>
-<script type="text/javascript">
-createTable('Where is the table?');
-document.body.appendChild(document.createElement('hr'));
-createTable();
-document.body.appendChild(document.createElement('hr'));
-createTable1('Here is the table');
+<script type="text/javascript">
+createTable('Where is the table?');
+document.body.appendChild(document.createElement('hr'));
+createTable();
+document.body.appendChild(document.createElement('hr'));
+createTable1('Here is the table');
</script><table border="1"><thead><tr><td>Header</td></tr></thead><caption>Where is the table?</caption><tbody><tr><td>Kibology</td></tr></tbody></table><hr><table border="1"><thead><tr><td>Header</td></tr></thead><tbody><tr><td>Kibology</td></tr></tbody></table><hr><table border="1"><thead><tr><td>Header</td></tr></thead><caption>Here is the table</caption><tbody><tr><td>Kibology</td></tr></tbody></table>
-</body></html>
+</body></html>
« no previous file with comments | « LayoutTests/tables/layering/paint-test-layering-2.html ('k') | LayoutTests/tables/mozilla/bugs/bug123862.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698