From: C. Scott Ananian
Date: Tue, 9 Jul 2013 22:42:33 +0000 (-0400)
Subject: Sync up with Parsoid tests.
X-Git-Tag: 1.31.0-rc.0~19225
X-Git-Url: http://git.cyclocoop.org/%22.%24match%5B1%5D.%22?a=commitdiff_plain;h=06fb69d943c3b1e0ac7137156f15792aee68f448;p=lhc%2Fweb%2Fwiklou.git
Sync up with Parsoid tests.
This now aligns with Parsoid commit 7533c2240496914f15b4f3b314742bde9c3ceca5.
Change-Id: Ia6743500aba297acfc6fe89a8db1079dfd6be3b6
---
diff --git a/tests/parser/parserTests.txt b/tests/parser/parserTests.txt
index f873b4a00e..478b3489c8 100644
--- a/tests/parser/parserTests.txt
+++ b/tests/parser/parserTests.txt
@@ -4808,6 +4808,8 @@ parsoid
!! test
Broken br tag sanitization
+!! options
+php
!! input
!! result
@@ -4815,6 +4817,17 @@ Broken br tag sanitization
!! end
+# TODO: Fix html2html mode (bug 51055)!
+!! test
+Parsoid: Broken br tag recognition
+!! options
+parsoid=wt2html
+!! input
+
+!! result
+
+!! end
+
!! test
Incorrecly removing closing slashes from correctly formed XHTML
!! input
@@ -16145,6 +16158,32 @@ parsoid=html2wt
!! end
+# This test case is fixed by domino 1.0.12.
+# Note that html2wt is considerably more difficult if we use in
+# the test case, instead of
+!! test
+Ensure that HTML adoption agency algorithm is properly implemented.
+!! options
+!! input
+XYZ
+!! result
+XYZ
+
+!! end
+
+# The parsoid team believes the below behavior of the PHP parser to be
+# a bug.
+!! test
+Document PHP parser behavior for HTML adoption agency test case.
+!! options
+php
+!! input
+XYZ
+!! result
+X<em>YZ</em>
+
+!! end
+
TODO:
more images
more tables