Removed some bad/obsolete test cases. Fixes #32.

This commit is contained in:
Michael[tm] Smith 2012-04-23 11:39:38 +09:00
parent 869ab4a4e5
commit 21f5b68778
6 changed files with 3 additions and 118 deletions

View file

@ -1,13 +0,0 @@
<!-- automatically generated HTML -->
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML
4.0 Transitional//EN">
<html
><head
><title
>[ #427844 ] End tags containing whitespace warning</title
><script language="JScript"
></script
></head
><body
></body
></html>

View file

@ -1,17 +0,0 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
<html>
<head>
<title>Test input for bug #431719</title>
</head>
<body>
<p>Problem is spec want "HTML 3.2 Final", but everyone
in the world, including Tidy, uses "HTML 3.2". So the
software has to recognize both FPI's as equivalent.
<table>
<tr>
<td>Missing table summary only applies to HTML 4.x</td>
</tr>
</table>
</body>
</html>

View file

@ -1,55 +0,0 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN">
<!--
bug-2000-12-27-a.html
Problem:
Running Tidy on this file produces the diagnostic:
Doctype given is "-//W3C//DTD HTML 3.2//EN"
...when clearly the DOCTYPE is not as shown. Problem appears to be that
doctype is "fixed" in FixDocType before it is reported in ReportVersion.
See "tidy.c" lines 1001, 1016.
Expected behavior:
The DOCTYPE that appears in the file should be reported in the "Doctype
given" diagnostic.
Verification:
tidy -e bug-2000-12-27-a.html
Correction:
tidy.c (main)
-->
<html>
<head>
<title>Bug-2000-12-27-A [ #431883 ] Given doctype reported incorrectly</title>
</head>
<body>
<!--
If you use a plain table tag, tidy complains about
no summary attribute and demotes the version to 3.2
-->
<table>
<!--
If you add a summary attribute to the table tag,
tidy identifies the doc as 4.01 transitional.
<table summary="Tidy reports this as 3.2, not 4.0">
-->
<tr>
<td>A cell.</td>
</tr>
</table>
</body>
</html>

View file

@ -1,26 +0,0 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD html 4.0 transitional//EN">
<html>
<head>
<title>[ #435909 ] &lt;noscript&gt;&lt;/noscript&gt; in &lt;head&gt;&lt;/head&gt;</title>
<script type="text/javascript" language="javascript">
<!-- to hide script/text from old browsers
function foo()
{
return true;
}
//-->
</script>
<noscript>Your Javascript is not turned on</noscript>
<script type="text/javascript" language="javascript">
<!-- to hide script/text from old browsers
function bar()
{
return true;
}
//-->
</script>
</head>
<body bgcolor="#FFFFFF">
Test
</body>
</html>

View file

@ -21,10 +21,10 @@ VERSION='$Id'
BUGS="426885 427633 427662 427664 427671 427672 427675 427676 427677\ BUGS="426885 427633 427662 427664 427671 427672 427675 427676 427677\
427810 427811 427813 427816 427818 427819 427820 427821 427822 427823\ 427810 427811 427813 427816 427818 427819 427820 427821 427822 427823\
427825 427826 427827 427830 427833 427834 427835 427836 427837 427838 427839\ 427825 427826 427827 427830 427833 427834 427835 427836 427837 427838 427839\
427840 427841 427844 427845 427846 431716 431719 431721 431731 431736\ 427840 427841 427845 427846 431716 431721 431731 431736\
431739 431874 431883 431889 431895 431898 431958 431964 432677 433012\ 431739 431874 431889 431895 431898 431958 431964 432677 433012\
433021 433040 433359 433360 433656 433666 433672 433856 434047 434100\ 433021 433040 433359 433360 433656 433666 433672 433856 434047 434100\
434940 435903 435909 435917 435919 435920 435922 435923 437468 438650\ 434940 435903 435917 435919 435920 435922 435923 437468 438650\
438658 438954 438956 441508 441568 443362 443576 443678 445074 445394\ 438658 438954 438956 441508 441568 443362 443576 443678 445074 445394\
445557 449348 470663 480701 487204 487283 501669 504206 505770 511679\ 445557 449348 470663 480701 487204 487283 501669 504206 505770 511679\
533233 540571 543262 545772 553468 566542 586555 586562 588061 593705 616744\ 533233 540571 543262 545772 553468 566542 586555 586562 588061 593705 616744\

View file

@ -30,17 +30,14 @@
427839 0 427839 0
427840 1 427840 1
427841 1 427841 1
427844 1
427845 0 427845 0
427846 1 427846 1
431716 0 431716 0
431719 1
431721 1 431721 1
431731 1 431731 1
431736 1 431736 1
431739 1 431739 1
431874 1 431874 1
431883 1
431889 1 431889 1
431895 1 431895 1
431898 1 431898 1
@ -62,7 +59,6 @@
434100 2 434100 2
434940 0 434940 0
435903 1 435903 1
435909 1
435917 1 435917 1
435919 1 435919 1
435920 1 435920 1