Cscott has uploaded a new change for review. https://gerrit.wikimedia.org/r/72854
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(-) git pull ssh://gerrit.wikimedia.org:29418/mediawiki/core refs/changes/54/72854/1 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: newchange Gerrit-Change-Id: Ia6743500aba297acfc6fe89a8db1079dfd6be3b6 Gerrit-PatchSet: 1 Gerrit-Project: mediawiki/core Gerrit-Branch: master Gerrit-Owner: Cscott <[email protected]> _______________________________________________ MediaWiki-commits mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits
