From 06fb69d943c3b1e0ac7137156f15792aee68f448 Mon Sep 17 00:00:00 2001 From: "C. Scott Ananian" Date: Tue, 9 Jul 2013 18:42:33 -0400 Subject: [PATCH] Sync up with Parsoid tests. This now aligns with Parsoid commit 7533c2240496914f15b4f3b314742bde9c3ceca5. Change-Id: Ia6743500aba297acfc6fe89a8db1079dfd6be3b6 --- tests/parser/parserTests.txt | 39 ++++++++++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) 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 -- 2.20.1