mirror of
https://github.com/rn10950/RetroZilla.git
synced 2024-11-09 09:20:15 +01:00
45 lines
2.4 KiB
HTML
45 lines
2.4 KiB
HTML
|
<html><head><title>Testcase for bug </title>
|
||
|
<style>.ok{color:green} .err{color:red}</style>
|
||
|
</head>
|
||
|
<body bgcolor="#FFDD66" text="#000000">
|
||
|
|
||
|
<FORM>
|
||
|
<TABLE border=1>
|
||
|
<TR><TH> </TH><TH>SIZE<BR>attribute</TH><TH>INPUT TYPE="TEXT" of that SIZE</TH>
|
||
|
<TH>IE 5.00</TH><TH>NS 4.72</TH><TH>M17 (20000720)</TH></TR>
|
||
|
<TR><TD>1.</TD><TD>SIZE="20" </TD><TD><INPUT TYPE="TEXT" SIZE="20"> </TD>
|
||
|
<TD>20</TD><TD>20</TD><TD class=ok>20</TD></TR>
|
||
|
<TR><TD>2.</TD><TD>SIZE="1" </TD><TD><INPUT TYPE="TEXT" SIZE="1"> </TD>
|
||
|
<TD>1 </TD><TD>1 </TD><TD class=ok>1 </TD></TR>
|
||
|
<TR><TD>3.</TD><TD>SIZE="0" </TD><TD><INPUT TYPE="TEXT" SIZE="0"> </TD>
|
||
|
<TD>20</TD><TD>1 </TD><TD class=ok>0 </TD></TR>
|
||
|
<TR><TD>4.</TD><TD> </TD> <TD><INPUT TYPE="TEXT"> </TD>
|
||
|
<TD>20</TD><TD>20</TD><TD class=ok>20 </TD></TR>
|
||
|
<TR><TD>5.</TD><TD>SIZE="10XYZ"</TD><TD><INPUT TYPE="TEXT" SIZE="10XYZ"></TD>
|
||
|
<TD>20</TD><TD>10</TD><TD class=ok>10</TD></TR>
|
||
|
<TR><TD>6.</TD><TD>SIZE="10.99"</TD><TD><INPUT TYPE="TEXT" SIZE="10.99"></TD>
|
||
|
<TD>10</TD><TD>10</TD><TD class=ok>10</TD></TR>
|
||
|
<TR><TD>7.</TD><TD>SIZE="XYZ"</TD> <TD><INPUT TYPE="TEXT" SIZE="XYZ"></TD>
|
||
|
<TD>20</TD><TD>1 </TD><TD class=err>0 </TD></TR>
|
||
|
<TR><TD>8.</TD><TD>SIZE="NaN"</TD> <TD><INPUT TYPE="TEXT" SIZE="NaN"></TD>
|
||
|
<TD>20</TD><TD>1 </TD><TD class=err><0 ?!? </TD></TR>
|
||
|
<TR><TD>9.</TD><TD>SIZE="" </TD> <TD><INPUT TYPE="TEXT" SIZE=""> </TD>
|
||
|
<TD>20</TD><TD>1 </TD><TD class=err>0 </TD></TR>
|
||
|
<TR><TD>10.</TD><TD>SIZE="#!$"</TD> <TD><INPUT TYPE="TEXT" SIZE="#!$"></TD>
|
||
|
<TD>20</TD><TD>1 </TD><TD class=err>0 </TD></TR>
|
||
|
<TR><TD>11.</TD><TD>SIZE </TD> <TD><INPUT TYPE="TEXT" SIZE> </TD>
|
||
|
<TD>20</TD><TD>1 </TD><TD class=err>0 </TD></TR>
|
||
|
<TR><TD>12.</TD><TD>SIZE="-1" </TD> <TD><INPUT TYPE="TEXT" SIZE="-1"> </TD>
|
||
|
<TD>20</TD><TD>1 </TD><TD class=err>0 </TD></TR>
|
||
|
</TABLE>
|
||
|
</FORM>
|
||
|
|
||
|
<P>Last three columns show equivalent SIZE number on Windows 98 SE. (ie SIZE="" results in a field
|
||
|
as wide as a SIZE=20 in IE and as wide as a SIZE=1 field in NS. It does not reflect how many characters
|
||
|
that actually fits.)
|
||
|
<P>Notice how Mozilla (2000-07-20) treats "NaN" differently from other invalid values like "XYZ" for example.
|
||
|
<P>I think Mozilla does the right thing in the first 6 cases,<BR>
|
||
|
bug the rest should be treated as SIZE=20 (as IE5 does.)
|
||
|
|
||
|
</body></html>
|