aboutsummaryrefslogtreecommitdiff
path: root/test/html-reader.native
diff options
context:
space:
mode:
authorJohn MacFarlane <[email protected]>2023-08-05 11:54:31 -0700
committerJohn MacFarlane <[email protected]>2023-08-05 11:54:31 -0700
commit08bef384911ecb166501af7593c6e87708480ade (patch)
tree705bbcc61192a90d409967c02b3fb5dc80a0cbd0 /test/html-reader.native
parent1d62883e144ca3792638061c5659230712c48a61 (diff)
Revert "Revert "Update #8764 command test for latest change to HTML table parser (#8634).""
This reverts commit acbc382ff4b45b9818884779b1e7100de445383d.
Diffstat (limited to 'test/html-reader.native')
-rw-r--r--test/html-reader.native101
1 files changed, 100 insertions, 1 deletions
diff --git a/test/html-reader.native b/test/html-reader.native
index dba1cb85f..828cb8fc6 100644
--- a/test/html-reader.native
+++ b/test/html-reader.native
@@ -2262,7 +2262,7 @@ Pandoc
])
[ TableBody
( "" , [] , [] )
- (RowHeadColumns 1)
+ (RowHeadColumns 0)
[]
[ Row
( "" , [] , [] )
@@ -2285,6 +2285,105 @@ Pandoc
(ColSpan 1)
[ Plain [ Str "3" ] ]
]
+ , Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 3)
+ [ Plain [ Str "Details" ] ]
+ ]
+ ]
+ ]
+ (TableFoot
+ ( "" , [] , [] )
+ [ Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "4" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "5" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "6" ] ]
+ ]
+ ])
+ , HorizontalRule
+ , Table
+ ( "" , [] , [] )
+ (Caption Nothing [])
+ [ ( AlignDefault , ColWidthDefault )
+ , ( AlignDefault , ColWidthDefault )
+ , ( AlignDefault , ColWidthDefault )
+ ]
+ (TableHead ( "" , [] , [] ) [])
+ [ TableBody
+ ( "" , [] , [] )
+ (RowHeadColumns 0)
+ [ Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "X" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "Y" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "Z" ] ]
+ ]
+ ]
+ [ Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "1" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "2" ] ]
+ , Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 1)
+ [ Plain [ Str "3" ] ]
+ ]
+ , Row
+ ( "" , [] , [] )
+ [ Cell
+ ( "" , [] , [] )
+ AlignDefault
+ (RowSpan 1)
+ (ColSpan 3)
+ [ Plain [ Str "Details" ] ]
+ ]
]
]
(TableFoot