Skip to content

Commit f99e2cb

Browse files
committed
Update tests for <isindex> removal from the spec
Ref. whatwg/html#1095
1 parent 6234bae commit f99e2cb

File tree

4 files changed

+23
-124
lines changed

4 files changed

+23
-124
lines changed

tree-construction/isindex.dat

Lines changed: 20 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -2,46 +2,48 @@
22
<isindex>
33
#errors
44
(1,9): expected-doctype-but-got-start-tag
5-
(1,9): deprecated-tag
5+
(1,9): expected-closing-tag-but-got-eof
66
#document
77
| <html>
88
| <head>
99
| <body>
10-
| <form>
11-
| <hr>
12-
| <label>
13-
| "This is a searchable index. Enter search keywords: "
14-
| <input>
15-
| name="isindex"
16-
| <hr>
10+
| <isindex>
1711

1812
#data
1913
<isindex name="A" action="B" prompt="C" foo="D">
2014
#errors
2115
(1,48): expected-doctype-but-got-start-tag
22-
(1,48): deprecated-tag
16+
(1,48): expected-closing-tag-but-got-eof
2317
#document
2418
| <html>
2519
| <head>
2620
| <body>
27-
| <form>
21+
| <isindex>
2822
| action="B"
29-
| <hr>
30-
| <label>
31-
| "C"
32-
| <input>
33-
| foo="D"
34-
| name="isindex"
35-
| <hr>
23+
| foo="D"
24+
| name="A"
25+
| prompt="C"
3626

3727
#data
3828
<form><isindex>
3929
#errors
4030
(1,6): expected-doctype-but-got-start-tag
41-
(1,15): deprecated-tag
4231
(1,15): expected-closing-tag-but-got-eof
4332
#document
4433
| <html>
4534
| <head>
4635
| <body>
4736
| <form>
37+
| <isindex>
38+
39+
#data
40+
<!doctype html><isindex>x</isindex>x
41+
#errors
42+
#document
43+
| <!DOCTYPE html>
44+
| <html>
45+
| <head>
46+
| <body>
47+
| <isindex>
48+
| "x"
49+
| "x"

tree-construction/tests19.dat

Lines changed: 3 additions & 73 deletions
Original file line numberDiff line numberDiff line change
@@ -81,87 +81,17 @@
8181
| <p>
8282
| <h1>
8383

84-
#data
85-
<!doctype html><form><isindex>
86-
#errors
87-
(1,30): deprecated-tag
88-
(1,30): expected-closing-tag-but-got-eof
89-
#document
90-
| <!DOCTYPE html>
91-
| <html>
92-
| <head>
93-
| <body>
94-
| <form>
95-
96-
#data
97-
<!doctype html><isindex action="POST">
98-
#errors
99-
(1,38): deprecated-tag
100-
#document
101-
| <!DOCTYPE html>
102-
| <html>
103-
| <head>
104-
| <body>
105-
| <form>
106-
| action="POST"
107-
| <hr>
108-
| <label>
109-
| "This is a searchable index. Enter search keywords: "
110-
| <input>
111-
| name="isindex"
112-
| <hr>
113-
114-
#data
115-
<!doctype html><isindex prompt="this is isindex">
116-
#errors
117-
(1,49): deprecated-tag
118-
#document
119-
| <!DOCTYPE html>
120-
| <html>
121-
| <head>
122-
| <body>
123-
| <form>
124-
| <hr>
125-
| <label>
126-
| "this is isindex"
127-
| <input>
128-
| name="isindex"
129-
| <hr>
130-
13184
#data
13285
<!doctype html><isindex type="hidden">
13386
#errors
134-
(1,38): deprecated-tag
135-
#document
136-
| <!DOCTYPE html>
137-
| <html>
138-
| <head>
139-
| <body>
140-
| <form>
141-
| <hr>
142-
| <label>
143-
| "This is a searchable index. Enter search keywords: "
144-
| <input>
145-
| name="isindex"
146-
| type="hidden"
147-
| <hr>
148-
149-
#data
150-
<!doctype html><isindex name="foo">
151-
#errors
152-
(1,35): deprecated-tag
87+
(1,38): expected-closing-tag-but-got-eof
15388
#document
15489
| <!DOCTYPE html>
15590
| <html>
15691
| <head>
15792
| <body>
158-
| <form>
159-
| <hr>
160-
| <label>
161-
| "This is a searchable index. Enter search keywords: "
162-
| <input>
163-
| name="isindex"
164-
| <hr>
93+
| <isindex>
94+
| type="hidden"
16595

16696
#data
16797
<!doctype html><ruby><p><rp>

tree-construction/tests2.dat

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -553,24 +553,6 @@
553553
| <head>
554554
| <body>
555555

556-
#data
557-
<isindex test=x name=x>
558-
#errors
559-
(1,23): expected-doctype-but-got-start-tag
560-
(1,23): deprecated-tag
561-
#document
562-
| <html>
563-
| <head>
564-
| <body>
565-
| <form>
566-
| <hr>
567-
| <label>
568-
| "This is a searchable index. Enter search keywords: "
569-
| <input>
570-
| name="isindex"
571-
| test="x"
572-
| <hr>
573-
574556
#data
575557
test
576558
test

tree-construction/webkit02.dat

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -256,21 +256,6 @@ div
256256
| <aside>
257257
| <b>
258258

259-
#data
260-
<isindex action="x">
261-
#errors
262-
#document-fragment
263-
table
264-
#document
265-
| <form>
266-
| action="x"
267-
| <hr>
268-
| <label>
269-
| "This is a searchable index. Enter search keywords: "
270-
| <input>
271-
| name="isindex"
272-
| <hr>
273-
274259
#data
275260
<option><XH<optgroup></optgroup>
276261
#errors

0 commit comments

Comments
 (0)