Skip to content

Commit 9f14a9a

Browse files
authored
Add test for </button> closing <p> (#146)
Fixes #143
1 parent 538a6cd commit 9f14a9a

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

tree-construction/tests20.dat

+15
Original file line numberDiff line numberDiff line change
@@ -508,6 +508,21 @@
508508
| <button>
509509
| <p>
510510

511+
#data
512+
<!doctype html><button><p></button>x
513+
#errors
514+
(1,35): end-tag-too-early
515+
(1,36): expected-named-closing-tag-but-got-eof
516+
(1,36): expected-closing-tag-but-got-eof
517+
#document
518+
| <!DOCTYPE html>
519+
| <html>
520+
| <head>
521+
| <body>
522+
| <button>
523+
| <p>
524+
| "x"
525+
511526
#data
512527
<!doctype html><address><button></address>a
513528
#errors

0 commit comments

Comments
 (0)