From 88adfad241abaa49f1da9c34edcfcb8b4bd2a274 Mon Sep 17 00:00:00 2001 From: Brion Vibber Date: Wed, 3 May 2006 00:24:53 +0000 Subject: [PATCH] Parser test cases for bug 5497 --- maintenance/parserTests.txt | 166 ++++++++++++++++++++++++++++++++++++ 1 file changed, 166 insertions(+) diff --git a/maintenance/parserTests.txt b/maintenance/parserTests.txt index 4d05607890..cc1eeb69c4 100644 --- a/maintenance/parserTests.txt +++ b/maintenance/parserTests.txt @@ -3787,6 +3787,172 @@ Self closed html pairs (bug 5487) !! end +# +# +# + +!! test +HTML bullet list, closed tags (bug 5497) +!! input + +!! result + + +!! end + +!! test +HTML bullet list, unclosed tags (bug 5497) +!! input + +!! result + + +!! end + +!! test +HTML ordered list, closed tags (bug 5497) +!! input +
    +
  1. One
  2. +
  3. Two
  4. +
+!! result +
    +
  1. One
  2. +
  3. Two
  4. +
+ +!! end + +!! test +HTML ordered list, unclosed tags (bug 5497) +!! input +
    +
  1. One +
  2. Two +
+!! result +
    +
  1. One +
  2. Two +
+ +!! end + +!! test +HTML nested bullet list, closed tags (bug 5497) +!! input + +!! result + + +!! end + +!! test +HTML nested bullet list, open tags (bug 5497) +!! input + +!! result + + +!! end + +!! test +HTML nested ordered list, closed tags (bug 5497) +!! input +
    +
  1. One
  2. +
  3. Two: +
      +
    1. Sub-one
    2. +
    3. Sub-two
    4. +
    +
  4. +
+!! result +
    +
  1. One
  2. +
  3. Two: +
      +
    1. Sub-one
    2. +
    3. Sub-two
    4. +
    +
  4. +
+ +!! end + +!! test +HTML nested ordered list, open tags (bug 5497) +!! input +
    +
  1. One +
  2. Two: +
      +
    1. Sub-one +
    2. Sub-two +
    +
  3. +
+!! result +
    +
  1. One +
  2. Two: +
      +
    1. Sub-one +
    2. Sub-two +
    +
+ +!! end + +# +# +# + TODO: more images more tables -- 2.20.1