Debian Codegraph @

t/lacks_uncapped_inputs-bad.html

raw
1 <html>
2 <head>
3 <title>Title</title>
4 </head>
5 <body>
6 <form name="testform">
7 <input name="foo" type="text" size="12"> <!-- this is one bad one with a missing maxlength -->
8 <input name="bar" type="radio">
9 <input name="bat" type="text" disabled> <!-- no maxlength, but disabled so it's OK -->
10 <input name="baz" type="text" maxlength=" 14 "> <!-- spaces shouldn't be a problem -->
11 <input name="quux" type="text" size="12" maxlength="dogs"> <!-- not an integer -->
12 <input name="crunchy" type="text" size="12" maxlength="-1"> <!-- negative -->
13 <input name="bingo" type="text" maxlength=""> <!-- blank -->
14 <input name="bongo" type="text" maxlength=" "> <!-- all blanks -->
15 </form>
16 </body>
17 </html>