Skip to content

Commit 5b6f2d5

Browse files
committed
Test 'has a p element in button scope' for all relevant start tags
1 parent 517a4e4 commit 5b6f2d5

File tree

1 file changed

+260
-0
lines changed

1 file changed

+260
-0
lines changed

tree-construction/tests20.dat

Lines changed: 260 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,32 @@
2525
| <button>
2626
| <address>
2727

28+
#data
29+
<!doctype html><p><button><article>
30+
#errors
31+
(1,36): expected-closing-tag-but-got-eof
32+
#document
33+
| <!DOCTYPE html>
34+
| <html>
35+
| <head>
36+
| <body>
37+
| <p>
38+
| <button>
39+
| <article>
40+
41+
#data
42+
<!doctype html><p><button><aside>
43+
#errors
44+
(1,34): expected-closing-tag-but-got-eof
45+
#document
46+
| <!DOCTYPE html>
47+
| <html>
48+
| <head>
49+
| <body>
50+
| <p>
51+
| <button>
52+
| <aside>
53+
2854
#data
2955
<!doctype html><p><button><blockquote>
3056
#errors
@@ -38,6 +64,175 @@
3864
| <button>
3965
| <blockquote>
4066

67+
#data
68+
<!doctype html><p><button><center>
69+
#errors
70+
(1,35): expected-closing-tag-but-got-eof
71+
#document
72+
| <!DOCTYPE html>
73+
| <html>
74+
| <head>
75+
| <body>
76+
| <p>
77+
| <button>
78+
| <center>
79+
80+
#data
81+
<!doctype html><p><button><details>
82+
#errors
83+
(1,36): expected-closing-tag-but-got-eof
84+
#document
85+
| <!DOCTYPE html>
86+
| <html>
87+
| <head>
88+
| <body>
89+
| <p>
90+
| <button>
91+
| <details>
92+
93+
#data
94+
<!doctype html><p><button><dialog>
95+
#errors
96+
(1,35): expected-closing-tag-but-got-eof
97+
#document
98+
| <!DOCTYPE html>
99+
| <html>
100+
| <head>
101+
| <body>
102+
| <p>
103+
| <button>
104+
| <dialog>
105+
106+
#data
107+
<!doctype html><p><button><dir>
108+
#errors
109+
(1,32): expected-closing-tag-but-got-eof
110+
#document
111+
| <!DOCTYPE html>
112+
| <html>
113+
| <head>
114+
| <body>
115+
| <p>
116+
| <button>
117+
| <dir>
118+
119+
#data
120+
<!doctype html><p><button><div>
121+
#errors
122+
(1,32): expected-closing-tag-but-got-eof
123+
#document
124+
| <!DOCTYPE html>
125+
| <html>
126+
| <head>
127+
| <body>
128+
| <p>
129+
| <button>
130+
| <div>
131+
132+
#data
133+
<!doctype html><p><button><dl>
134+
#errors
135+
(1,31): expected-closing-tag-but-got-eof
136+
#document
137+
| <!DOCTYPE html>
138+
| <html>
139+
| <head>
140+
| <body>
141+
| <p>
142+
| <button>
143+
| <dl>
144+
145+
#data
146+
<!doctype html><p><button><fieldset>
147+
#errors
148+
(1,37): expected-closing-tag-but-got-eof
149+
#document
150+
| <!DOCTYPE html>
151+
| <html>
152+
| <head>
153+
| <body>
154+
| <p>
155+
| <button>
156+
| <fieldset>
157+
158+
#data
159+
<!doctype html><p><button><figcaption>
160+
#errors
161+
(1,39): expected-closing-tag-but-got-eof
162+
#document
163+
| <!DOCTYPE html>
164+
| <html>
165+
| <head>
166+
| <body>
167+
| <p>
168+
| <button>
169+
| <figcaption>
170+
171+
#data
172+
<!doctype html><p><button><figure>
173+
#errors
174+
(1,35): expected-closing-tag-but-got-eof
175+
#document
176+
| <!DOCTYPE html>
177+
| <html>
178+
| <head>
179+
| <body>
180+
| <p>
181+
| <button>
182+
| <figure>
183+
184+
#data
185+
<!doctype html><p><button><footer>
186+
#errors
187+
(1,35): expected-closing-tag-but-got-eof
188+
#document
189+
| <!DOCTYPE html>
190+
| <html>
191+
| <head>
192+
| <body>
193+
| <p>
194+
| <button>
195+
| <footer>
196+
197+
#data
198+
<!doctype html><p><button><header>
199+
#errors
200+
(1,35): expected-closing-tag-but-got-eof
201+
#document
202+
| <!DOCTYPE html>
203+
| <html>
204+
| <head>
205+
| <body>
206+
| <p>
207+
| <button>
208+
| <header>
209+
210+
#data
211+
<!doctype html><p><button><hgroup>
212+
#errors
213+
(1,35): expected-closing-tag-but-got-eof
214+
#document
215+
| <!DOCTYPE html>
216+
| <html>
217+
| <head>
218+
| <body>
219+
| <p>
220+
| <button>
221+
| <hgroup>
222+
223+
#data
224+
<!doctype html><p><button><main>
225+
#errors
226+
(1,33): expected-closing-tag-but-got-eof
227+
#document
228+
| <!DOCTYPE html>
229+
| <html>
230+
| <head>
231+
| <body>
232+
| <p>
233+
| <button>
234+
| <main>
235+
41236
#data
42237
<!doctype html><p><button><menu>
43238
#errors
@@ -51,6 +246,32 @@
51246
| <button>
52247
| <menu>
53248

249+
#data
250+
<!doctype html><p><button><nav>
251+
#errors
252+
(1,32): expected-closing-tag-but-got-eof
253+
#document
254+
| <!DOCTYPE html>
255+
| <html>
256+
| <head>
257+
| <body>
258+
| <p>
259+
| <button>
260+
| <nav>
261+
262+
#data
263+
<!doctype html><p><button><ol>
264+
#errors
265+
(1,31): expected-closing-tag-but-got-eof
266+
#document
267+
| <!DOCTYPE html>
268+
| <html>
269+
| <head>
270+
| <body>
271+
| <p>
272+
| <button>
273+
| <ol>
274+
54275
#data
55276
<!doctype html><p><button><p>
56277
#errors
@@ -64,6 +285,45 @@
64285
| <button>
65286
| <p>
66287

288+
#data
289+
<!doctype html><p><button><search>
290+
#errors
291+
(1,35): expected-closing-tag-but-got-eof
292+
#document
293+
| <!DOCTYPE html>
294+
| <html>
295+
| <head>
296+
| <body>
297+
| <p>
298+
| <button>
299+
| <search>
300+
301+
#data
302+
<!doctype html><p><button><section>
303+
#errors
304+
(1,36): expected-closing-tag-but-got-eof
305+
#document
306+
| <!DOCTYPE html>
307+
| <html>
308+
| <head>
309+
| <body>
310+
| <p>
311+
| <button>
312+
| <section>
313+
314+
#data
315+
<!doctype html><p><button><summary>
316+
#errors
317+
(1,36): expected-closing-tag-but-got-eof
318+
#document
319+
| <!DOCTYPE html>
320+
| <html>
321+
| <head>
322+
| <body>
323+
| <p>
324+
| <button>
325+
| <summary>
326+
67327
#data
68328
<!doctype html><p><button><ul>
69329
#errors

0 commit comments

Comments
 (0)