Google Chrome
+Google Chrome is a free, open-source web browser developed by Google, released in 2008.
+diff --git a/test/html5/article.org.html b/test/html5/article.org.html new file mode 100644 index 0000000..e9d18c4 --- /dev/null +++ b/test/html5/article.org.html @@ -0,0 +1,15 @@ + + +
+ +Google Chrome is a free, open-source web browser developed by Google, released in 2008.
+My family and I visited The Epcot center this summer.
+ + + + + diff --git a/test/html5/bdi.org.html b/test/html5/bdi.org.html new file mode 100644 index 0000000..374cc17 --- /dev/null +++ b/test/html5/bdi.org.html @@ -0,0 +1,24 @@ + + + ++In the example below, usernames are shown along with the number of points in a contest. +If the bdi element is not supported in the browser, the username of the Arabic user would confuse the text (the bidirectional algorithm would put the colon and the number "90" next to the word "User" rather than next to the word "points"). +
+ +Note: The bdi element is currently supported only in Firefox and Chrome.
+ + + + diff --git a/test/html5/datalist.org.html b/test/html5/datalist.org.html new file mode 100644 index 0000000..6752460 --- /dev/null +++ b/test/html5/datalist.org.html @@ -0,0 +1,24 @@ + + + + +Note: The datalist tag is not supported in Internet Explorer 9 and earlier versions, or in Safari.
+ + + diff --git a/test/html5/datalist2.org.html b/test/html5/datalist2.org.html new file mode 100644 index 0000000..90676ce --- /dev/null +++ b/test/html5/datalist2.org.html @@ -0,0 +1,30 @@ + + + + +- by Refsnes Data. All Rights Reserved.
+All content and graphics on this web site are the property of the company Refsnes Data.
+Note: The details tag is currently only supported in Opera, Chrome, and in Safari 6.
+ + + diff --git a/test/html5/dialog.org.html b/test/html5/dialog.org.html new file mode 100644 index 0000000..178b092 --- /dev/null +++ b/test/html5/dialog.org.html @@ -0,0 +1,32 @@ + + + + +Note: The dialog tag is only supported in Chrome Canary and Safari 6.
+ +January | +February | +March | +
---|---|---|
31 | +28 | +31 | +
The Pulpit Rock is a massive cliff 604 metres (1982 feet) above Lysefjorden, opposite the Kjerag plateau, in Forsand, Ryfylke, Norway. The top of the cliff is approximately 25 by 25 metres (82 by 82 feet) square and almost flat, and is a famous tourist attraction in Norway.
+ +Windows Internet Explorer 9 (abbreviated as IE9) was released to + the public on March 14, 2011 at 21:00 PDT.....
+Note: The keygen tag is not supported in Internet Explorer.
+ + + diff --git a/test/html5/main.org.html b/test/html5/main.org.html new file mode 100644 index 0000000..2a1f612 --- /dev/null +++ b/test/html5/main.org.html @@ -0,0 +1,33 @@ + + + + +Google Chrome, Firefox, and Internet Explorer are the most used browsers today.
+ +Google Chrome is a free, open-source web browser developed by Google, released in 2008.
+Internet Explorer is a free web browser from Microsoft, released in 1995.
+Firefox is a free, open-source web browser from Mozilla, released in 2004.
+Do not forget to buy milk today.
+ + + + diff --git a/test/html5/mav.org.html b/test/html5/mav.org.html new file mode 100644 index 0000000..aebbcfe --- /dev/null +++ b/test/html5/mav.org.html @@ -0,0 +1,19 @@ + + + + +Right-click inside this box to see the context menu! + +
+ +This example currently only works in Firefox!
+ + + + diff --git a/test/html5/meter.org.html b/test/html5/meter.org.html new file mode 100644 index 0000000..4852f7b --- /dev/null +++ b/test/html5/meter.org.html @@ -0,0 +1,18 @@ + + + + +Display a gauge:
+Note: The meter tag is not supported in Internet Explorer or Safari 5 (and earlier versions).
+ + + diff --git a/test/html5/min.org.html b/test/html5/min.org.html new file mode 100644 index 0000000..5930f56 --- /dev/null +++ b/test/html5/min.org.html @@ -0,0 +1,10 @@ + + + + +Note: The output tag is not supported in Internet Explorer.
+ + + diff --git a/test/html5/progress.org.html b/test/html5/progress.org.html new file mode 100644 index 0000000..017a493 --- /dev/null +++ b/test/html5/progress.org.html @@ -0,0 +1,18 @@ + + + + +Note: The progress tag is not supported in Internet Explorer 9 and earlier versions.
+ + + diff --git a/test/html5/removed.org.html b/test/html5/removed.org.html new file mode 100644 index 0000000..c40ff8b --- /dev/null +++ b/test/html5/removed.org.html @@ -0,0 +1,29 @@ + + + + +The following HTML 4.01 elements has been removed from HTML5: + +
The World Wide Fund for Nature (WWF) is an international organization working on issues regarding the conservation, research and restoration of the environment, formerly named the World Wildlife Fund. WWF was founded in 1961.
+The Panda has become the symbol of WWF. The well-known panda logo of WWF originated from a panda named Chi Chi that was transferred from the Beijing Zoo to the London Zoo in the same year of the establishment of WWF.
+- by Refsnes Data. All Rights Reserved.
+All content and graphics on this web site are the property of the company Refsnes Data.
+Note: The summary element is currently supported only in Opera, Chrome and Safari +6.
+ + + diff --git a/test/html5/testhtml5.cmd b/test/html5/testhtml5.cmd new file mode 100644 index 0000000..cc3a8c1 --- /dev/null +++ b/test/html5/testhtml5.cmd @@ -0,0 +1,102 @@ +@setlocal + +@set TMPEXE=..\..\build\cmake\Release\tidy5.exe +@if NOT EXIST %TMPEXE% goto NOEXE +@set TMPINP=temphtml5.cfg +@set TMPDIR=tempout + +@%TMPEXE% -h > nul +@if ERRORLEVEL 1 goto NOEXE + +@if EXIST %TMPDIR%\nul goto GOTOUT +@echo Will create the folder %TMPDIR% for output... +@pause +@md %TMPDIR% +@if ERRORLEVEL 1 goto NOOUT +@if NOT EXIST %TMPDIR%\nul goto NODIR +:GOTOUT + +@REM This option would be nice, but at present it is FARRRR TOOOOO agressive, +@REM dropping , , etc... because they are marked CM_OPT +@REM which causes WARNINGS when tidy is run on the tidied file!!! +@REM echo omit-optional-tags: yes >> %TMPINP% + +@if EXIST %TMPINP% goto GOTINP +@echo Creating a CONFIG file %TMPINP% +@pause +@echo wrap: 99 > %TMPINP% +@echo tidy-mark: no >> %TMPINP% +@echo indent: yes >> %TMPINP% +@echo break-before-br: yes >> %TMPINP% +@echo indent-attributes: yes >> %TMPINP% +@echo vertical-space: yes >> %TMPINP% +@echo indent-spaces: 1 >> %TMPINP% +@echo indent-cdata: no >> %TMPINP% +@echo wrap-asp: no >> %TMPINP% +@echo wrap-attributes: no >> %TMPINP% +@echo wrap-jste: no >> %TMPINP% +@echo wrap-php: no >> %TMPINP% +@echo wrap-script-literals: no >> %TMPINP% +@echo wrap-sections: no >> %TMPINP% +@echo tab-size: 4 >> %TMPINP% +@echo show-info: no >> %TMPINP% +@if NOT EXIST %TMPINP% goto NOINP +:GOTINP +@set TMPCNT1=0 +@set TMPCNT2=0 +@set TMPCNT3=0 + +@for %%i in (*.org.html) do @(call :CNTIT %%i) +@echo Will process %TMPCNT1% files found... +@echo All should exit with NO WARNINGS or ERRORS +@echo *** CONTINUE? *** Only Ctlr+C aborts... all other keys continue... +@pause + +@for %%i in (*.org.html) do @(call :DOONE %%i) + +@echo Done %TMPCNT2% files. See tidied output in %TMPDIR%... +@if "%TMPCNT3%x" == "0x" ( +@echo With NO WARNINGS or ERRORS! This ia a success... +) ELSE ( +@echo However have %TMPCNT3% WARNINGS or ERRORS! This is a FAILURE... +) + +@goto END + +:CNTIT +@if "%~1x" == "x" goto :EOF +@set /A TMPCNT1+=1 +@goto :EOF + +:DOONE +@if "%~1x" == "x" goto :EOF +@set /A TMPCNT2+=1 +@echo %TMPCNT2% of %TMPCNT1%: %1 +@set TMPOUT=%TMPDIR%\%~nx1 +@%TMPEXE% -config %TMPINP% -o %TMPOUT% %1 +@if ERRORLEVEL 1 goto FAILED +@goto :EOF + +:FAILED +@echo The test of %1 FAILED! +@set /A TMPCNT3+=1 +@pause +@goto :EOF + +:NODIR +:NOOUT +@echo Error: Unable to create %TMPDIR%! +@goto END + + +:NOEXE +@echo Unable to find/run exe %TMPEXE%! *** FIX ME *** +@echo Set the name of the 'tidy' executable to use... +@goto END + +:NOINP +@echo Error: Unable to create config file %TMPINP%! +@goto END + + +:END diff --git a/test/html5/time.org.html b/test/html5/time.org.html new file mode 100644 index 0000000..99394ac --- /dev/null +++ b/test/html5/time.org.html @@ -0,0 +1,16 @@ + + + + +We open at every morning.
+ +I have a date on .
+ +Note: The time element does not render as anything special in any of the major browsers.
+ + + diff --git a/test/html5/video.org.html b/test/html5/video.org.html new file mode 100644 index 0000000..df187fe --- /dev/null +++ b/test/html5/video.org.html @@ -0,0 +1,15 @@ + + + +Try to shrink the browser window, to view how the very long word in +the paragraph below will break:
+ +This is a veryveryveryveryveryveryveryveryveryveryveryveryveryveryveryveryveryvery
Note: The wbr element is not supported in IE.
+ + +