8000 add some tests to match changes made in new ruby model · gsnedders/html5lib-python@24cfb25 · GitHub
[go: up one dir, main page]

Skip to content

Commit 24cfb25

Browse files
committed
add some tests to match changes made in new ruby model
1 parent 42b165c commit 24cfb25

File tree

1 file changed

+59
-0
lines changed

1 file changed

+59
-0
lines changed

tree-construction/tests19.dat

Lines changed: 59 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -249,6 +249,65 @@
249249
| <p>
250250
| <rt>
251251

252+
#data
253+
<html><ruby>a<rb>b<rt></ruby></html>
254+
#errors
255+
(1,6): expected-doctype-but-got-start-tag
256+
#document
257+
| <html>
258+
| <head>
259+
| <body>
260+
| <ruby>
261+
| "a"
262+
| <rb>
263+
| "b"
264+
| <rt>
265+
266+
#data
267+
<html><ruby>a<rp>b<rt></ruby></html>
268+
#errors
269+
(1,6): expected-doctype-but-got-start-tag
270+
#document
271+
| <html>
272+
| <head>
273+
| <body>
274+
| <ruby>
275+
| "a"
276+
| <rp>
277+
| "b"
278+
| <rt>
279+
280+
#data
281+
<html><ruby>a<rt>b<rt></ruby></html>
282+
#errors
283+
(1,6): expected-doctype-but-got-start-tag
284+
#document
285+
| <html>
286+
| <head>
287+
| <body>
288+
| <ruby>
289+
| "a"
290+
| <rt>
291+
| "b"
292+
| <rt>
293+
294+
#data
295+
<html><ruby>a<rtc>b<rt>c<rb>d</ruby></html>
296+
#errors
297+
(1,6): expected-doctype-but-got-start-tag
298+
#document
299+
| <html>
300+
| <head>
301+
| <body>
302+
| <ruby>
303+
| "a"
304+
| <rtc>
305+
| "b"
306+
| <rt>
307+
| "c"
308+
| <rb>
309+
| "d"
310+
252311
#data
253312
<!doctype html><math/><foo>
254313
#errors

0 commit comments

Comments
 (0)
0