parser/htmlparser/tests/mochitest/html5lib_tree_construction/isindex.dat

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/parser/htmlparser/tests/mochitest/html5lib_tree_construction/isindex.dat	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,67 @@
     1.4 +#data
     1.5 +<isindex>
     1.6 +#errors
     1.7 +(1,9): expected-doctype-but-got-start-tag
     1.8 +(1,9): deprecated-tag
     1.9 +#document
    1.10 +| <html>
    1.11 +|   <head>
    1.12 +|   <body>
    1.13 +|     <form>
    1.14 +|       <hr>
    1.15 +|       <label>
    1.16 +|         "This is a searchable index. Enter search keywords: "
    1.17 +|         <input>
    1.18 +|           name="isindex"
    1.19 +|       <hr>
    1.20 +
    1.21 +#data
    1.22 +<isindex name="A" action="B" prompt="C" foo="D">
    1.23 +#errors
    1.24 +(1,48): expected-doctype-but-got-start-tag
    1.25 +(1,48): deprecated-tag
    1.26 +#document
    1.27 +| <html>
    1.28 +|   <head>
    1.29 +|   <body>
    1.30 +|     <form>
    1.31 +|       action="B"
    1.32 +|       <hr>
    1.33 +|       <label>
    1.34 +|         "C"
    1.35 +|         <input>
    1.36 +|           foo="D"
    1.37 +|           name="isindex"
    1.38 +|       <hr>
    1.39 +
    1.40 +#data
    1.41 +<form><isindex>
    1.42 +#errors
    1.43 +(1,6): expected-doctype-but-got-start-tag
    1.44 +(1,15): deprecated-tag
    1.45 +(1,15): expected-closing-tag-but-got-eof
    1.46 +#document
    1.47 +| <html>
    1.48 +|   <head>
    1.49 +|   <body>
    1.50 +|     <form>
    1.51 +
    1.52 +#data
    1.53 +<body><isindex><form>
    1.54 +#errors
    1.55 +6: Start tag seen without seeing a doctype first. Expected “<!DOCTYPE html>”.
    1.56 +15: “isindex” seen.
    1.57 +21: End of file seen and there were open elements.
    1.58 +21: Unclosed element “form”.
    1.59 +#document
    1.60 +| <html>
    1.61 +|   <head>
    1.62 +|   <body>
    1.63 +|     <form>
    1.64 +|       <hr>
    1.65 +|       <label>
    1.66 +|         "This is a searchable index. Enter search keywords: "
    1.67 +|         <input>
    1.68 +|           name="isindex"
    1.69 +|       <hr>
    1.70 +|     <form>

mercurial