From: Subramanya Sastry Date: Fri, 1 Feb 2013 21:00:55 +0000 (-0600) Subject: New list and table attr. tests based on recent Parsoid bug fixes. X-Git-Tag: 1.31.0-rc.0~20824^2 X-Git-Url: http://git.cyclocoop.org/%7B%24www_url%7Dadmin/compta/operations/?a=commitdiff_plain;h=09e35a50608b56aa5db228cc8d0f6d92603fe0ab;p=lhc%2Fweb%2Fwiklou.git New list and table attr. tests based on recent Parsoid bug fixes. Change-Id: I51620f2dcf8d6d4cd4aebf658bef2cef2232bd39 --- diff --git a/tests/parser/parserTests.txt b/tests/parser/parserTests.txt index e0520d7ea2..c25f158066 100644 --- a/tests/parser/parserTests.txt +++ b/tests/parser/parserTests.txt @@ -4258,6 +4258,25 @@ disabled !! end +!!test +List embedded in a non-block tag +(Ugly Parsoid output -- worth fixing; Disabled for PHP parser since it relies on Tidy) +!! options +disabled +!!input + +* foo + +!!result +

+ + + +

+!!end + !! test List items are not parsed correctly following a
 block (bug 785)
 !! input
@@ -13671,6 +13690,51 @@ disabled
 
 !! end
 
+!!test
+Accept empty td cell attribute
+!!input
+{|
+| align="center" | foo ||  |
+|}
+!!result
+
+
+
+
foo +
+ +!!end + +!!test +Non-empty attributes in th-cells +!!input +{| +! Foo !! style="color: red" | Bar +|} +!!result + + + +
Foo Bar +
+ +!!end + +!!test +Accept empty attributes in th-cells +!!input +{| +!| foo !!| bar +|} +!!result + + + +
foo bar +
+ +!!end + TODO: more images more tables