summaryrefslogtreecommitdiffstats
path: root/test/bad-html.html
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-27 17:56:50 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-27 17:56:50 +0000
commit8e9f8f2d0dcdddec35091ddbbdc79650763ec922 (patch)
tree4f88ed317d44fb4e5d9ab77e565bf1d910a8f560 /test/bad-html.html
parentInitial commit. (diff)
downloadlynx-8e9f8f2d0dcdddec35091ddbbdc79650763ec922.tar.xz
lynx-8e9f8f2d0dcdddec35091ddbbdc79650763ec922.zip
Adding upstream version 2.9.0dev.6.upstream/2.9.0dev.6upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'test/bad-html.html')
-rw-r--r--test/bad-html.html46
1 files changed, 46 insertions, 0 deletions
diff --git a/test/bad-html.html b/test/bad-html.html
new file mode 100644
index 0000000..8c0b9dc
--- /dev/null
+++ b/test/bad-html.html
@@ -0,0 +1,46 @@
+<!DOCTYPE html PUBLIC "-//IETF//DTD HTML 3.0//EN">
+<HTML>
+<HEAD>
+<TITLE>Examples of "Bad HTML" per Lynx</TITLE>
+<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
+<LINK REV="made" HREF="mailto:lynx-dev@nongnu.org">
+<LINK REV="owner" HREF="http://mail.gnu.org/mailman/listinfo/lynx-dev/">
+</HEAD>
+
+<BODY>
+<h2>Unterminated TEXTAREA</h2>
+<form action="http://localhost/cgi-bin/bogus-parms" method="get">
+<textarea name="50cols" cols="50" rows=3>
+This is not empty.
+</textarea>
+<br>
+<textarea name="50percent" cols="50%" rows=3>
+This seems to have a button.
+<button>Button 1</button>
+</textarea>
+<hr>
+<input type="submit" value="Submit this form">
+<br>
+<input type="reset" value="Reset this form">
+</form>
+
+<h2>Unterminated SELECT</h2>
+<select>
+<option>first option</option>
+<option>second option</option>
+<option>third option</option>
+</notselect>
+<br>
+<select>
+<option>first option</option>
+<option>second option</option>
+<option>third option</option>
+</select>
+
+<h2>OPTION not within SELECT</h2>
+<option>third option</option>
+
+<h2>TEXTAREA ending without starting</h2>
+</textarea>
+
+</BODY>