Skip to content

Commit 2fce094

Browse files
committed
Add test for </button> closing <p>
Fixes html5lib#143
1 parent 538a6cd commit 2fce094

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

tree-construction/tests20.dat

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

511+
#data
512+
<!doctype html><button><p></button>x
513+
#errors
514+
(1,31): expected-named-closing-tag-but-got-eof
515+
(1,31): expected-closing-tag-but-got-eof
516+
#document
517+
| <!DOCTYPE html>
518+
| <html>
519+
| <head>
520+
| <body>
521+
| <button>
522+
| <p>
523+
| x
524+
511525
#data
512526
<!doctype html><address><button></address>a
513527
#errors

0 commit comments

Comments
 (0)