jenkins-bot has submitted this change and it was merged. Change subject: Sync up with Parsoid tests. ......................................................................
Sync up with Parsoid tests. This now aligns with Parsoid commit 7533c2240496914f15b4f3b314742bde9c3ceca5. Change-Id: Ia6743500aba297acfc6fe89a8db1079dfd6be3b6 --- M tests/parser/parserTests.txt 1 file changed, 39 insertions(+), 0 deletions(-) Approvals: GWicke: Looks good to me, approved jenkins-bot: Verified diff --git a/tests/parser/parserTests.txt b/tests/parser/parserTests.txt index f873b4a..478b348 100644 --- a/tests/parser/parserTests.txt +++ b/tests/parser/parserTests.txt @@ -4808,11 +4808,24 @@ !! test Broken br tag sanitization +!! options +php !! input </br> !! result <p></br> </p> +!! end + +# TODO: Fix html2html mode (bug 51055)! +!! test +Parsoid: Broken br tag recognition +!! options +parsoid=wt2html +!! input +</br> +!! result +<p><br></p> !! end !! test @@ -16145,6 +16158,32 @@ </ul> !! end +# This test case is fixed by domino 1.0.12. +# Note that html2wt is considerably more difficult if we use <b> in +# the test case, instead of <big> +!! test +Ensure that HTML adoption agency algorithm is properly implemented. +!! options +!! input +<big>X<big>Y</big>Z</big> +!! result +<p><big>X<big>Y</big>Z</big> +</p> +!! 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 +<em>X<em>Y</em>Z</em> +!! result +<p><em>X<em>Y</em>Z</em> +</p> +!! end + TODO: more images more tables -- To view, visit https://gerrit.wikimedia.org/r/72854 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: merged Gerrit-Change-Id: Ia6743500aba297acfc6fe89a8db1079dfd6be3b6 Gerrit-PatchSet: 1 Gerrit-Project: mediawiki/core Gerrit-Branch: master Gerrit-Owner: Cscott <[email protected]> Gerrit-Reviewer: Cscott <[email protected]> Gerrit-Reviewer: GWicke <[email protected]> Gerrit-Reviewer: Krinkle <[email protected]> Gerrit-Reviewer: Subramanya Sastry <[email protected]> Gerrit-Reviewer: jenkins-bot _______________________________________________ MediaWiki-commits mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits
