From 14f2bd01ecad3be2a0ee60eda08c22e49f4ab59c Mon Sep 17 00:00:00 2001 From: =?utf8?q?=C3=86var=20Arnfj=C3=B6r=C3=B0=20Bjarmason?= Date: Mon, 2 May 2005 11:33:51 +0000 Subject: [PATCH] * Added two table tests that fail, down to 92.77% --- maintenance/parserTests.txt | 39 +++++++++++++++++++++++++++++++++---- 1 file changed, 35 insertions(+), 4 deletions(-) diff --git a/maintenance/parserTests.txt b/maintenance/parserTests.txt index d01e9ba07d..936b9b3a71 100644 --- a/maintenance/parserTests.txt +++ b/maintenance/parserTests.txt @@ -156,7 +156,7 @@ nowiki 3 !! end ### -### comment test cases +### Comments ### !! test Comment test 1 @@ -239,7 +239,7 @@ And a link !! end ### -### Definition list +### Definition lists ### !! test Simple definition @@ -664,8 +664,35 @@ Normal text. ### ### Tables ### -### content taken from http://meta.wikimedia.org/wiki/MediaWiki_User%27s_Guide:_Using_tables +### some content taken from http://meta.wikimedia.org/wiki/MediaWiki_User%27s_Guide:_Using_tables ### + +# This should not produce
as
+# is the bare minimun required by the spec, see: +# http://www.w3.org/TR/xhtml-modularization/dtd_module_defs.html#a_module_Basic_Tables +!! test +A table with no data. +!! input +{||} +!! result +!! end + +# A table with nothing but a caption is invalid XHTML +!! test +A table with nothing but a caption +!! input +{| +|+ caption +|} +!! result + + + +
caption +
+
+!! end + !! test Simple table !! input @@ -757,7 +784,7 @@ Table rowspan Cell 3, row 1 - Cell 1, row 2 +bg Cell 1, row 2 Cell 3, row 2 @@ -2132,6 +2159,10 @@ I always thought &xacute; was a cute letter. !! end +### +### Media links +### + !! test Media link !! input -- 2.20.1