Subramanya Sastry has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/57079


Change subject: One more serializer test; Changed two parsoid-specific tests
......................................................................

One more serializer test; Changed two parsoid-specific tests

* Updated html output of two parsoid-centric tests to reflect
  changes in parsoid output.
* Added one more test for the serializer.

Change-Id: Id72fc5de5a09490028b64a522db3461970008960
---
M tests/parser/parserTests.txt
1 file changed, 20 insertions(+), 2 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/core 
refs/changes/79/57079/1

diff --git a/tests/parser/parserTests.txt b/tests/parser/parserTests.txt
index 0165cb2..18c4b70 100644
--- a/tests/parser/parserTests.txt
+++ b/tests/parser/parserTests.txt
@@ -3530,7 +3530,6 @@
 <table>
 <tbody>
 <tr>
-<td></td>
 <td>foo</td></tr></tbody></table>
 !! end
 
@@ -14305,6 +14304,25 @@
 !!end
 
 !!test
+Indented table with an empty td
+!!input
+ {|
+ |-
+ |
+ |foo
+ |}
+!!result
+<table>
+
+<tr>
+<td>
+</td>
+<td>foo
+</td></tr></table>
+
+!!end
+
+!!test
 Empty TR followed by a template-generated TR
 (Parsoid-specific since PHP parser doesn't handle this mixed tbl-wikitext)
 !!options
@@ -14318,7 +14336,7 @@
 <table>
 <tbody>
 <tr>
-<td></td></tr>
+</tr>
 <tr>
 <td>foo</td></tr></tbody></table>
 !!end

-- 
To view, visit https://gerrit.wikimedia.org/r/57079
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: Id72fc5de5a09490028b64a522db3461970008960
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/core
Gerrit-Branch: master
Gerrit-Owner: Subramanya Sastry <ssas...@wikimedia.org>

_______________________________________________
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to