From bd6c9854342094e2de8183aaab740804c1a6fc1f Mon Sep 17 00:00:00 2001 From: Albrecht Schlosser Date: Thu, 11 Mar 2021 14:01:01 +0100 Subject: [PATCH] Improve Fl_Help_View test file - add DOCTYPE, and statements - make the file more standards conformant - update OL tests, add nested OL/UL test - add 'alt' tags to image refs Note: the 'NAME' tag is obsolete and should be replaced with 'ID' but Fl_Help_View does not parse 'ID' tags (yet). --- test/help_dialog.html | 71 ++++++++++++++++++++++++++++++++----------- 1 file changed, 53 insertions(+), 18 deletions(-) diff --git a/test/help_dialog.html b/test/help_dialog.html index dffaf4cb1..f7d7fc05a 100644 --- a/test/help_dialog.html +++ b/test/help_dialog.html @@ -1,8 +1,15 @@ + + + + Fl_Help_Dialog test - Fast Light Toolkit (FLTK) + + +

Simple HTML Tests

- + Plain text paragraphs

The licenses for most software are designed to take away your freedom to share and change it. By contrast, the GNU General Public Licenses are @@ -43,7 +50,7 @@

Italic content. Bold content Big content. Small content. Underline content. Strike out content. - Red font content. Orange #ff8800 font content. + Red font content. Orange #ff8800 font content. Blue font content.

This should be Helvetica. 0123456789
@@ -55,7 +62,7 @@ This should be Symbol. 0123456789

- + HTML Entities: named, hexadecimal, and decimal

Special characters, formatted as named "HTML Entities", e.g. "€":
Euro and "dagger": "€" "†"
@@ -78,7 +85,7 @@ Chinese (CJK Unified Ideographs) : "中" "丳"

- + Preformatted paragraphs

 The following 2 paragraphs should be indented 4 spaces.
 
@@ -111,7 +118,7 @@ The following text content should all be indented 4 spaces.
 
     Italic content. Bold content Big content.
     Small content. Underline content. Strike out content.
-    Red font content. Orange #ff8800 font content.
+    Red font content. Orange #ff8800 font content.
     Blue font content.
 

@@ -143,6 +150,12 @@ End of UL. Starting an OL:

  • Second list item
  • Third list item
  • +Another OL with start value 10: +
      +
    1. First list item (value 10)
    2. +
    3. Second list item
    4. +
    5. Third list item
    6. +
    End of OL. Starting a DL:
    A DL has been started. This should be a list of terms. @@ -156,6 +169,26 @@ End of OL. Starting a DL:
    Description of third term goes here.
    End of DL. + +

    +Nested OL/UL: +

      +
    1. First numbered Item +
        +
      • one thing
      • +
      • two things
      • +
      • three things
      • +
      +
    2. +
    3. Second numbered Item +
        +
      • one thing
      • +
      • two things
      • +
      • Three things
      • +
      +
    4. +
    +

    @@ -188,7 +221,7 @@ End of DL. Simple Two Column Table With Borders And Heading - + @@ -204,7 +237,7 @@ End of DL. Simple Bordered Table With Heading And 10 Cell Padding + Spacing
    Table HeadingTable Heading  
    Column 1 Column 2
    - + @@ -220,21 +253,21 @@ End of DL. Simple Table Of Images, Two Columns, Three Rows
    Table HeadingTable Heading
    Column 1 Column 2
    - + - + - + - + - +
    Table HeadingTable Heading
    Column 1 Column 2
    FLTK logo This is the FLTK logo
    Tiny FLTK logo Tiny FLTK logo.
    Fl_Value_Input This is an image of Fl_Value_Input
    Fl_Value_Output This is an image of Fl_Value_Output
    @@ -251,7 +284,7 @@ This text should be in a paragraph break. This is paragraph #1 of 2. This text should be in a paragraph break as well. This is paragraph #2 of 2.

    What follows should be a centered image.
    -
    +FLTK logo
    That should be a centered image.

    @@ -296,3 +329,5 @@ This text should be between two horizontal lines. 2 Tab + 3 Space .. + +