From ae5d181b854d3ccb373b6bc01b4869e44ff4d87a Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sun, 7 Apr 2024 18:37:15 +0200 Subject: Adding upstream version 2.9.0dev.12. Signed-off-by: Daniel Baumann --- 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 0000000..873169f --- /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 v1.2.3