tidy-html5/test/html5/html4
2014-11-22 15:42:28 +08:00
..
acronym4.html Restart with geoffmcl's fork 2014-11-22 15:42:28 +08:00
acronym5.html Restart with geoffmcl's fork 2014-11-22 15:42:28 +08:00
align5.html Restart with geoffmcl's fork 2014-11-22 15:42:28 +08:00
applet4.html Restart with geoffmcl's fork 2014-11-22 15:42:28 +08:00
applet5.html Restart with geoffmcl's fork 2014-11-22 15:42:28 +08:00
basefont4.html Restart with geoffmcl's fork 2014-11-22 15:42:28 +08:00
basefont5.html Restart with geoffmcl's fork 2014-11-22 15:42:28 +08:00
big4.html Restart with geoffmcl's fork 2014-11-22 15:42:28 +08:00
big5.html Restart with geoffmcl's fork 2014-11-22 15:42:28 +08:00
blink5.html Restart with geoffmcl's fork 2014-11-22 15:42:28 +08:00
bodyatts5.html Restart with geoffmcl's fork 2014-11-22 15:42:28 +08:00
center4.html Restart with geoffmcl's fork 2014-11-22 15:42:28 +08:00
center5.html Restart with geoffmcl's fork 2014-11-22 15:42:28 +08:00
center25.html Restart with geoffmcl's fork 2014-11-22 15:42:28 +08:00
cleanup.bat Restart with geoffmcl's fork 2014-11-22 15:42:28 +08:00
dir4.html Restart with geoffmcl's fork 2014-11-22 15:42:28 +08:00
dir5.html Restart with geoffmcl's fork 2014-11-22 15:42:28 +08:00
font4.html Restart with geoffmcl's fork 2014-11-22 15:42:28 +08:00
font5.html Restart with geoffmcl's fork 2014-11-22 15:42:28 +08:00
frame_a.htm Restart with geoffmcl's fork 2014-11-22 15:42:28 +08:00
frame_b.htm Restart with geoffmcl's fork 2014-11-22 15:42:28 +08:00
frame_c.htm Restart with geoffmcl's fork 2014-11-22 15:42:28 +08:00
frameset4.html Restart with geoffmcl's fork 2014-11-22 15:42:28 +08:00
frameset5.html Restart with geoffmcl's fork 2014-11-22 15:42:28 +08:00
index2.html Restart with geoffmcl's fork 2014-11-22 15:42:28 +08:00
marquee5.html Restart with geoffmcl's fork 2014-11-22 15:42:28 +08:00
obsolete.txt Restart with geoffmcl's fork 2014-11-22 15:42:28 +08:00
README.html4.txt Restart with geoffmcl's fork 2014-11-22 15:42:28 +08:00
setexe.bat Restart with geoffmcl's fork 2014-11-22 15:42:28 +08:00
strike4.html Restart with geoffmcl's fork 2014-11-22 15:42:28 +08:00
strike5.html Restart with geoffmcl's fork 2014-11-22 15:42:28 +08:00
testacro.bat Restart with geoffmcl's fork 2014-11-22 15:42:28 +08:00
testbig.bat Restart with geoffmcl's fork 2014-11-22 15:42:28 +08:00
testbody.bat Restart with geoffmcl's fork 2014-11-22 15:42:28 +08:00
testcent.bat Restart with geoffmcl's fork 2014-11-22 15:42:28 +08:00
testcent2.bat Restart with geoffmcl's fork 2014-11-22 15:42:28 +08:00
testdir.bat Restart with geoffmcl's fork 2014-11-22 15:42:28 +08:00
testfont.bat Restart with geoffmcl's fork 2014-11-22 15:42:28 +08:00
testhtml4.cmd Restart with geoffmcl's fork 2014-11-22 15:42:28 +08:00
testi2.bat Restart with geoffmcl's fork 2014-11-22 15:42:28 +08:00
testmarq.bat Restart with geoffmcl's fork 2014-11-22 15:42:28 +08:00
testone.bat Restart with geoffmcl's fork 2014-11-22 15:42:28 +08:00
teststrike.bat Restart with geoffmcl's fork 2014-11-22 15:42:28 +08:00
testtt.bat Restart with geoffmcl's fork 2014-11-22 15:42:28 +08:00
tt4.html Restart with geoffmcl's fork 2014-11-22 15:42:28 +08:00
tt5.html Restart with geoffmcl's fork 2014-11-22 15:42:28 +08:00

README.html4.txt - 20140805

## Tests 1

This folder contains about dozen HTML files, each using a tag or tags REMOVED from HTML5,
all named *4.html

Running these files through standard 2009 tidy should mostly produce no errors or warnings.

However if a HTML 5 aware tidy is used, and doctype: html5 is configured, EACH should
have warnings and/or errors...

A batch file, testhtml4.cmd is provided to run these tests using the tidy5.exe 
built using build/cmake... system, namely expects the EXE to be at -

 ..\..\..\build\cmake\Release\tidy5.exe.

If you have used some 'other' build system, then the batch file may have to be 
adjusted to find the correct EXE to use.

At the end it will report the number of tests that failed, which should be ZERO 
for a successful run. Remember here success is when a warning or error is produced, 
and a FAILURE if a clean run.

There is also a cleanup.bat to delete the products produced by this test.

## Tests 2

This folder contains about 14 HTML files, each using a tag or tags REMOVED from HTML5,
all named *5.html. A lot of the tests came from reading -
 http://www.whatwg.org/specs/web-apps/current-work/multipage/obsolete.html
A text copy, obsolete.txt is included in this folder.

These were use to test an develop the CheckHTML5(doc,node) service. And there are
a set of batch file to run these tests, named test*.bat, and some 'special' 
batch file like -

setexe.bat - This is called by all others to set the location of the EXE to use. This 
 file will need to be ADJUST to point to where the Tidy EXE that you want to use.
 
testone.bat - After setting the input file, each test????.bat calls this to conduct
 four (4) tests -
 Using configure DOCTYPE AND CLEAN
 Using configure DOCTYPE but NO CLEAN
 Using configure CLEAN but NO DOCTYPE
 Using configure NO CLEAN and NO DOCTYPE

All the output is redirected to tempinfo.html
 
The set of test batch files is -
testacro.bat testbig.bat testbody.bat testcent.bat testcent2.bat testdir.bat 
testfont.bat testi2.bat teststrike.bat testtt.bat

The name generally indicates the tag or attribute being tested...

Enjoy.

# eof