From 5a0da02e6a42da80035d7b3591e257c0c995e5e3 Mon Sep 17 00:00:00 2001 From: Subramanya Sastry Date: Thu, 24 Mar 2016 12:48:52 -0500 Subject: [PATCH] Sync up with Parsoid parserTests. This now aligns with Parsoid commit 5538d868777d2d5abb125dac310550fde3873689 Change-Id: I6750107c92c6dd96fe28ca96e66db43e0235c470 --- tests/parser/parserTests.txt | 45 +++++++++++++++++++++++++----------- 1 file changed, 32 insertions(+), 13 deletions(-) diff --git a/tests/parser/parserTests.txt b/tests/parser/parserTests.txt index 260e0f07f2..cacbcd4cff 100644 --- a/tests/parser/parserTests.txt +++ b/tests/parser/parserTests.txt @@ -6567,6 +6567,8 @@ Table with empty line following the start tag !! test Table attributes with empty value +!! options +parsoid=wt2html,html2html !! wikitext {| | style=| hello @@ -6579,11 +6581,8 @@ Table attributes with empty value !! html/parsoid - - -
hello -
- + hello + !! end !! test @@ -10509,6 +10508,7 @@ Abort table cell attribute parsing on wikilink {| | testing [[one|two]] | three || four | testing one two | three || four +| testing="[[one|two]]" | three || four |} !! html/php @@ -10518,12 +10518,16 @@ Abort table cell attribute parsing on wikilink + +
three four + testing="two" | three four
!! html/parsoid - + +
testing two | three four three four
three four testing="two" | three four
!! end @@ -15471,14 +15475,17 @@ div with illegal double attributes !! test div with empty attribute value, space before equals +!! options +parsoid=wt2html,html2html !! wikitext
HTML rocks
-!! html +!! html/php
HTML rocks
+!! html/parsoid +
HTML rocks
!! end -# FIXME: Parsoid doesn't match the html5 spec !! test div with multiple empty attribute values !! options @@ -15489,10 +15496,9 @@ parsoid=wt2html,html2html
HTML rocks
!! html/parsoid -
HTML rocks
+
HTML rocks
!! end -# FIXME: Parsoid doesn't match the html5 spec !! test table with multiple empty attribute values !! options @@ -15508,7 +15514,7 @@ parsoid=wt2html,html2html !! html/parsoid - +
hi
!! end @@ -15850,20 +15856,28 @@ Empty attribute crash test single-quotes (bug 2067) !! test Attribute test: equals, then nothing +!! options +parsoid=wt2html,html2html !! wikitext foo -!! html +!! html/php

foo

+!! html/parsoid +

foo

!! end !! test Attribute test: unquoted value +!! options +parsoid=wt2html,html2html !! wikitext foo -!! html +!! html/php

foo

+!! html/parsoid +

foo

!! end !! test @@ -17049,6 +17063,8 @@ http://

Contents

!! test Fuzz testing: Parser14-table +!! options +parsoid=wt2html,html2html !! wikitext ==a== {| STYLE=__TOC__ @@ -17065,6 +17081,9 @@ Fuzz testing: Parser14-table +!! html/parsoid +

a

+
!! end # Known to produce bogus xml (extra ) -- 2.20.1