Skip to content

Commit

Permalink
Update tests for <isindex> removal from the spec
Browse files Browse the repository at this point in the history
  • Loading branch information
zcorpan committed Apr 22, 2016
1 parent 6234bae commit f99e2cb
Show file tree
Hide file tree
Showing 4 changed files with 23 additions and 124 deletions.
38 changes: 20 additions & 18 deletions tree-construction/isindex.dat
Original file line number Diff line number Diff line change
Expand Up @@ -2,46 +2,48 @@
<isindex>
#errors
(1,9): expected-doctype-but-got-start-tag
(1,9): deprecated-tag
(1,9): expected-closing-tag-but-got-eof
#document
| <html>
| <head>
| <body>
| <form>
| <hr>
| <label>
| "This is a searchable index. Enter search keywords: "
| <input>
| name="isindex"
| <hr>
| <isindex>

#data
<isindex name="A" action="B" prompt="C" foo="D">
#errors
(1,48): expected-doctype-but-got-start-tag
(1,48): deprecated-tag
(1,48): expected-closing-tag-but-got-eof
#document
| <html>
| <head>
| <body>
| <form>
| <isindex>
| action="B"
| <hr>
| <label>
| "C"
| <input>
| foo="D"
| name="isindex"
| <hr>
| foo="D"
| name="A"
| prompt="C"

#data
<form><isindex>
#errors
(1,6): expected-doctype-but-got-start-tag
(1,15): deprecated-tag
(1,15): expected-closing-tag-but-got-eof
#document
| <html>
| <head>
| <body>
| <form>
| <isindex>

#data
<!doctype html><isindex>x</isindex>x
#errors
#document
| <!DOCTYPE html>
| <html>
| <head>
| <body>
| <isindex>
| "x"
| "x"
76 changes: 3 additions & 73 deletions tree-construction/tests19.dat
Original file line number Diff line number Diff line change
Expand Up @@ -81,87 +81,17 @@
| <p>
| <h1>

#data
<!doctype html><form><isindex>
#errors
(1,30): deprecated-tag
(1,30): expected-closing-tag-but-got-eof
#document
| <!DOCTYPE html>
| <html>
| <head>
| <body>
| <form>

#data
<!doctype html><isindex action="POST">
#errors
(1,38): deprecated-tag
#document
| <!DOCTYPE html>
| <html>
| <head>
| <body>
| <form>
| action="POST"
| <hr>
| <label>
| "This is a searchable index. Enter search keywords: "
| <input>
| name="isindex"
| <hr>

#data
<!doctype html><isindex prompt="this is isindex">
#errors
(1,49): deprecated-tag
#document
| <!DOCTYPE html>
| <html>
| <head>
| <body>
| <form>
| <hr>
| <label>
| "this is isindex"
| <input>
| name="isindex"
| <hr>

#data
<!doctype html><isindex type="hidden">
#errors
(1,38): deprecated-tag
#document
| <!DOCTYPE html>
| <html>
| <head>
| <body>
| <form>
| <hr>
| <label>
| "This is a searchable index. Enter search keywords: "
| <input>
| name="isindex"
| type="hidden"
| <hr>

#data
<!doctype html><isindex name="foo">
#errors
(1,35): deprecated-tag
(1,38): expected-closing-tag-but-got-eof
#document
| <!DOCTYPE html>
| <html>
| <head>
| <body>
| <form>
| <hr>
| <label>
| "This is a searchable index. Enter search keywords: "
| <input>
| name="isindex"
| <hr>
| <isindex>
| type="hidden"

#data
<!doctype html><ruby><p><rp>
Expand Down
18 changes: 0 additions & 18 deletions tree-construction/tests2.dat
Original file line number Diff line number Diff line change
Expand Up @@ -553,24 +553,6 @@
| <head>
| <body>

#data
<isindex test=x name=x>
#errors
(1,23): expected-doctype-but-got-start-tag
(1,23): deprecated-tag
#document
| <html>
| <head>
| <body>
| <form>
| <hr>
| <label>
| "This is a searchable index. Enter search keywords: "
| <input>
| name="isindex"
| test="x"
| <hr>

#data
test
test
Expand Down
15 changes: 0 additions & 15 deletions tree-construction/webkit02.dat
Original file line number Diff line number Diff line change
Expand Up @@ -256,21 +256,6 @@ div
| <aside>
| <b>

#data
<isindex action="x">
#errors
#document-fragment
table
#document
| <form>
| action="x"
| <hr>
| <label>
| "This is a searchable index. Enter search keywords: "
| <input>
| name="isindex"
| <hr>

#data
<option><XH<optgroup></optgroup>
#errors
Expand Down

0 comments on commit f99e2cb

Please sign in to comment.