File: bug20804.html

package info (click to toggle)
iceweasel 2.0.0.19-0etch1
  • links: PTS
  • area: main
  • in suites: etch
  • size: 298,784 kB
  • ctags: 317,912
  • sloc: cpp: 1,796,902; ansic: 987,677; xml: 109,036; makefile: 47,777; asm: 35,201; perl: 26,983; sh: 20,879; cs: 6,232; java: 5,513; python: 3,249; pascal: 459; lex: 306; php: 244; csh: 132; objc: 97; yacc: 79; ada: 49; awk: 14; sql: 4; sed: 4
file content (73 lines) | stat: -rw-r--r-- 3,333 bytes parent folder | download | duplicates (10)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
<html>
<head>
  <title>Testcase for bug 20804</title>
</head>
<body bgcolor="#FFFFFF">
<p>Testcase distilled from <a href="http://www.microsoft.com">http://www.microsoft.com</a><br>
The problem seems to be that the last cell in each row have an "excessive" COLSPAN value.<br>
I have added BORDER=1 to make the cell boundaries visible.
</p>

<TABLE WIDTH="100%" CELLPADDING=0 CELLSPACING=0 BORDER=1 BGCOLOR="#FFFFFF">
<TR>
        <TD VALIGN="TOP" HEIGHT=60 ROWSPAN=2><IMG SRC="../images/bnr_all.gif" WIDTH=250 HEIGHT=60></TD>
        <TD VALIGN="TOP" HEIGHT=20 ALIGN="RIGHT"><IMG SRC="../images/curve.gif" WIDTH=18 HEIGHT=20></TD>
        <TD BGCOLOR="#000000" HEIGHT=20 VALIGN="MIDDLE" ALIGN="RIGHT" NOWRAP COLSPAN=2>
                &nbsp;&nbsp;All Products&nbsp;&nbsp;|&nbsp;&nbsp;Support&nbsp;&nbsp;|
                &nbsp;&nbsp;Search&nbsp;&nbsp;|&nbsp;&nbsp;microsoft.com Home&nbsp;&nbsp;</TD>
</TR>
<TR>
        <TD VALIGN="TOP" HEIGHT=40 WIDTH=19><IMG SRC="../images/1ptrans.gif" WIDTH=19 HEIGHT=40></TD>
        <TD VALIGN="TOP" HEIGHT=40 ALIGN="RIGHT" NOWRAP COLSPAN=2><IMG 
              SRC="../images/banner_bizinternet.gif"><IMG

              SRC="../images/mslogo.gif" WIDTH=112 HEIGHT=40>
        </TD>
</TR>
<TR>
        <TD BGCOLOR="#6699CC" HEIGHT=20 VALIGN="MIDDLE" NOWRAP COLSPAN=4>
                        &nbsp;&nbsp;Home&nbsp;&nbsp;|
                        &nbsp;&nbsp;Events/Training&nbsp;&nbsp;|
                        &nbsp;&nbsp;Subscribe&nbsp;&nbsp;|
                        &nbsp;&nbsp;About Microsoft&nbsp;&nbsp;|
                        &nbsp;&nbsp;US/Worldwide&nbsp;&nbsp;|
                        &nbsp;&nbsp;Downloads&nbsp;&nbsp;|
                        &nbsp;&nbsp;MSN.com&nbsp;&nbsp;|
        </TD>
</TR>
</TABLE>

<p>The following table is exactly as above, but I have removed COLSPAN for the last cell in row 1 and 2,<br>
and changed COLSPAN=4 to COLSPAN=3 in the last row.</p>

<TABLE WIDTH="100%" CELLPADDING=0 CELLSPACING=0 BORDER=1 BGCOLOR="#FFFFFF">
<TR>
        <TD VALIGN="TOP" HEIGHT=60 ROWSPAN=2><IMG SRC="../images/bnr_all.gif" WIDTH=250 HEIGHT=60></TD>
        <TD VALIGN="TOP" HEIGHT=20 ALIGN="RIGHT"><IMG SRC="../images/curve.gif" WIDTH=18 HEIGHT=20></TD>
        <TD BGCOLOR="#000000" HEIGHT=20 VALIGN="MIDDLE" ALIGN="RIGHT" NOWRAP>
                &nbsp;&nbsp;All Products&nbsp;&nbsp;|&nbsp;&nbsp;Support&nbsp;&nbsp;|
                &nbsp;&nbsp;Search&nbsp;&nbsp;|&nbsp;&nbsp;microsoft.com Home&nbsp;&nbsp;</TD>
</TR>
<TR>
        <TD VALIGN="TOP" HEIGHT=40 WIDTH=19><IMG SRC="../images/1ptrans.gif" WIDTH=19 HEIGHT=40></TD>
        <TD VALIGN="TOP" HEIGHT=40 ALIGN="RIGHT" NOWRAP><IMG 
              SRC="../images/banner_bizinternet.gif"><IMG

              SRC="../images/mslogo.gif" WIDTH=112 HEIGHT=40>
        </TD>
</TR>
<TR>
        <TD BGCOLOR="#6699CC" HEIGHT=20 VALIGN="MIDDLE" NOWRAP COLSPAN=3>
                        &nbsp;&nbsp;Home&nbsp;&nbsp;|
                        &nbsp;&nbsp;Events/Training&nbsp;&nbsp;|
                        &nbsp;&nbsp;Subscribe&nbsp;&nbsp;|
                        &nbsp;&nbsp;About Microsoft&nbsp;&nbsp;|
                        &nbsp;&nbsp;US/Worldwide&nbsp;&nbsp;|
                        &nbsp;&nbsp;Downloads&nbsp;&nbsp;|
                        &nbsp;&nbsp;MSN.com&nbsp;&nbsp;|
        </TD>
</TR>
</TABLE>

</body>
</html>