From e087f6d44e87f489fcb3056e86319ebba4218156 Mon Sep 17 00:00:00 2001 From: "Thomas E. Dickey" Date: Mon, 2 Sep 1996 19:39:24 -0400 Subject: snapshot of project "lynx", label v2_6 --- test/TestComment.html | 50 ++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 50 insertions(+) create mode 100644 test/TestComment.html (limited to 'test/TestComment.html') diff --git a/test/TestComment.html b/test/TestComment.html new file mode 100644 index 00000000..873169f2 --- /dev/null +++ b/test/TestComment.html @@ -0,0 +1,50 @@ + + + +HTML Comment Parser Test + + + + + +

Test of the HTML/SGML comment syntax, as given in the W3 HTML Spec: + +Comments + +

See especially, the footnote: +(10) + +

+Co-vary the LYK_MINIMAL and LYK_HISTORICAL command key toggles (use the +'k'eymap command to see their key bindings) to establish Valid, Minimal +or Historical comment parsing, and toggle trace mode on (Ctrl-T), to see +how comment parsing is affected. + +

Case 01 through Case 14 should appear +as short separate paragraphs with the case numbers aligned vertically. +Some noise characters may appear to the right as a byproduct of code present +for error recovery, but there should be no noise before each case number. + +

Case | 01 | Trivial +

Case | 03 | Extra LT --> --> --> +

Case | 04 | Balanced +

Case > still in comment --> | 05 | Extra GT +

Case | 06 | Stuff Inside +

Case | 07 | Extra Open --> --> +

Case degenerate --> | 09 | Degenerate

Case | 10 | Empty +

Case | 11 | Perverse --> --> --> +

Case --> --> +

Case | 13 | Zero Comments +

Case | 14 | Last + +

<Tests completed!> + + -- cgit