Skip to content

Commit 5dc2a70

Browse files
author
Koji Ishii
committed
Add a case to check rt auto-closes rb/rt/rp butnot rtc
1 parent db1c09d commit 5dc2a70

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

tree-construction/ruby.dat

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,7 @@
153153
| <rb>
154154

155155
#data
156-
<html><ruby>a<rtc>b<rt></ruby></html>
156+
<html><ruby>a<rtc>b<rt>c<rt>d</ruby></html>
157157
#errors
158158
(1,6): expected-doctype-but-got-start-tag
159159
#document
@@ -165,6 +165,9 @@
165165
| <rtc>
166166
| "b"
167167
| <rt>
168+
| "c"
169+
| <rt>
170+
| "d"
168171

169172
#data
170173
<html><ruby>a<rtc>b<rtc></ruby></html>

0 commit comments

Comments
 (0)