From 09e35a50608b56aa5db228cc8d0f6d92603fe0ab Mon Sep 17 00:00:00 2001 From: Subramanya Sastry Date: Fri, 1 Feb 2013 15:00:55 -0600 Subject: [PATCH] New list and table attr. tests based on recent Parsoid bug fixes. Change-Id: I51620f2dcf8d6d4cd4aebf658bef2cef2232bd39 --- tests/parser/parserTests.txt | 64 ++++++++++++++++++++++++++++++++++++ 1 file changed, 64 insertions(+) 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 -- 2.20.1