Closed
Bug 2419
Opened 26 years ago
Closed 25 years ago
Rendering a strong tag adds vertical space to that line of text.
Categories
(Core :: DOM: HTML Parser, defect, P5)
Tracking
()
M6
People
(Reporter: rkasper, Assigned: rickg)
Details
Rendering a strong tag add vertical space to that line of text.
(It makes my tables look messy [oh no!] )
Both NSC 4.5 and IE 5.0 don't add the space so I thought it might be a bug.
Here is the page:
<html>
<head>
<title>File System Space</title>
</head>
<body>
<BODY bgcolor='#ffffff' text='#000000' link='#0000FF' vlink='#52188C'
alink='#FF0000' >
<font size=2>
<font size=2 face=Lucida-Console>
<TABLE BORDER=0 cellpadding=3 cellspacing=0>
<tr><td>
<TABLE BORDER=0 cellpadding=3 cellspacing=0>
<tr bgcolor=#000000><th colspan=6 align=center><FONT COLOR=#FFFFCC><font size=1
face="Lucida Console,Tahoma,sans-serif">
Output of df with size info in MB not K! </th></tr>
<tr bgcolor=#000000>
<th align=left><FONT COLOR=#FFFFCC><font size=1 face="Lucida
Console,Tahoma,sans-serif">Filesystem </th>
<th align=right><FONT COLOR=#FFFFCC><font size=1 face="Lucida
Console,Tahoma,sans-serif">Size </th>
<th align=right><FONT COLOR=#FFFFCC><font size=1 face="Lucida
Console,Tahoma,sans-serif">Used </th>
<th align=right><FONT COLOR=#FFFFCC><font size=1 face="Lucida
Console,Tahoma,sans-serif">Avail </th>
<th align=right><FONT COLOR=#FFFFCC><font size=1 face="Lucida
Console,Tahoma,sans-serif">% Used </th>
<th align=left><FONT COLOR=#FFFFCC><font size=1 face="Lucida
Console,Tahoma,sans-serif">Mounted On </th>
</tr>
<tr bgcolor=#EAEAEA><td><font size=1 face="Lucida
Console,Tahoma,sans-serif">/dev/vx/dsk/rootvol </td><td align=right><font
size=1 face="Lucida Console,Tahoma,sans-serif">994.51 </td><td
align=right><font size=1 face="Lucida
Console,Tahoma,sans-serif">476.02 </td><td align=right><font size=1
face="Lucida Console,Tahoma,sans-serif">458.81 </td><td align=right><font
size=1 face="Lucida Console,Tahoma,sans-serif">51% </td><td><font size=1
face="Lucida Console,Tahoma,sans-serif">/ </td></tr>
<tr bgcolor=#EAEAEA><td><font size=1 face="Lucida
Console,Tahoma,sans-serif">/proc </td><td align=right><font size=1
face="Lucida Console,Tahoma,sans-serif">0 </td><td align=right><font size=1
face="Lucida Console,Tahoma,sans-serif">0 </td><td align=right><font size=1
face="Lucida Console,Tahoma,sans-serif">0 </td><td align=right><font size=1
face="Lucida Console,Tahoma,sans-serif">0% </td><td><font size=1
face="Lucida Console,Tahoma,sans-serif">/proc </td></tr>
<tr bgcolor=#EAEAEA><td><font size=1 face="Lucida
Console,Tahoma,sans-serif">fd </td><td align=right><font size=1
face="Lucida Console,Tahoma,sans-serif">0 </td><td align=right><font size=1
face="Lucida Console,Tahoma,sans-serif">0 </td><td align=right><font size=1
face="Lucida Console,Tahoma,sans-serif">0 </td><td align=right><font size=1
face="Lucida Console,Tahoma,sans-serif">0% </td><td><font size=1
face="Lucida Console,Tahoma,sans-serif">/dev/fd </td></tr>
<tr bgcolor=#EAEAEA><td><font size=1 face="Lucida
Console,Tahoma,sans-serif">/dev/vx/dsk/var </td><td align=right><font
size=1 face="Lucida Console,Tahoma,sans-serif">994.51 </td><td
align=right><font size=1 face="Lucida
Console,Tahoma,sans-serif">776.33 </td><td align=right><font size=1
face="Lucida Console,Tahoma,sans-serif">158.5 </td><td align=right><font
size=1 face="Lucida Console,Tahoma,sans-serif"><strong><font
color=#FFA800>84%</strong></font> </td><td><font size=1 face="Lucida
Console,Tahoma,sans-serif">/var </td></tr>
<tr bgcolor=#EAEAEA><td><font size=1 face="Lucida
Console,Tahoma,sans-serif">/dev/vx/dsk/opt </td><td align=right><font
size=1 face="Lucida Console,Tahoma,sans-serif">994.51 </td><td
align=right><font size=1 face="Lucida
Console,Tahoma,sans-serif">358.63 </td><td align=right><font size=1
face="Lucida Console,Tahoma,sans-serif">576.2 </td><td align=right><font
size=1 face="Lucida Console,Tahoma,sans-serif">39% </td><td><font size=1
face="Lucida Console,Tahoma,sans-serif">/opt </td></tr>
<tr bgcolor=#EAEAEA><td><font size=1 face="Lucida
Console,Tahoma,sans-serif">/dev/vx/dsk/export </td><td align=right><font
size=1 face="Lucida Console,Tahoma,sans-serif">994.51 </td><td
align=right><font size=1 face="Lucida
Console,Tahoma,sans-serif">229.28 </td><td align=right><font size=1
face="Lucida Console,Tahoma,sans-serif">705.56 </td><td align=right><font
size=1 face="Lucida Console,Tahoma,sans-serif">25% </td><td><font size=1
face="Lucida Console,Tahoma,sans-serif">/export </td></tr>
<tr bgcolor=#EAEAEA><td><font size=1 face="Lucida
Console,Tahoma,sans-serif">swap </td><td align=right><font size=1
face="Lucida Console,Tahoma,sans-serif">1402.81 </td><td align=right><font
size=1 face="Lucida Console,Tahoma,sans-serif">853.65 </td><td
align=right><font size=1 face="Lucida
Console,Tahoma,sans-serif">549.15 </td><td align=right><font size=1
face="Lucida Console,Tahoma,sans-serif">61% </td><td><font size=1
face="Lucida Console,Tahoma,sans-serif">/tmp </td></tr>
<tr bgcolor=#EAEAEA><td><font size=1 face="Lucida
Console,Tahoma,sans-serif">/dev/vx/dsk/datadg/sybase </td><td
align=right><font size=1 face="Lucida
Console,Tahoma,sans-serif">959.98 </td><td align=right><font size=1
face="Lucida Console,Tahoma,sans-serif">499.28 </td><td align=right><font
size=1 face="Lucida Console,Tahoma,sans-serif">364.69 </td><td
align=right><font size=1 face="Lucida
Console,Tahoma,sans-serif">58% </td><td><font size=1 face="Lucida
Console,Tahoma,sans-serif">/usr/sybase </td></tr>
<tr bgcolor=#EAEAEA><td><font size=1 face="Lucida
Console,Tahoma,sans-serif">/dev/vx/dsk/datadg/data </td><td
align=right><font size=1 face="Lucida
Console,Tahoma,sans-serif">959.98 </td><td align=right><font size=1
face="Lucida Console,Tahoma,sans-serif">34.93 </td><td align=right><font
size=1 face="Lucida Console,Tahoma,sans-serif">829.04 </td><td
align=right><font size=1 face="Lucida
Console,Tahoma,sans-serif">5% </td><td><font size=1 face="Lucida
Console,Tahoma,sans-serif">/usr/sybase/data </td></tr>
<tr bgcolor=#EAEAEA><td><font size=1 face="Lucida
Console,Tahoma,sans-serif">/dev/vx/dsk/datadg/diskdump1 </td><td
align=right><font size=1 face="Lucida
Console,Tahoma,sans-serif">1919.97 </td><td align=right><font size=1
face="Lucida Console,Tahoma,sans-serif">1727.98 </td><td align=right><font
size=1 face="Lucida Console,Tahoma,sans-serif">0 </td><td align=right><font
size=1 face="Lucida Console,Tahoma,sans-serif"><strong><font
color=red>100%</strong></font> </td><td><font size=1 face="Lucida
Console,Tahoma,sans-serif">/usr/sybase/diskdump1 </td></tr>
<tr bgcolor=#EAEAEA><td><font size=1 face="Lucida
Console,Tahoma,sans-serif">/dev/vx/dsk/datadg/diskdump2 </td><td
align=right><font size=1 face="Lucida
Console,Tahoma,sans-serif">1919.97 </td><td align=right><font size=1
face="Lucida Console,Tahoma,sans-serif">1302.45 </td><td align=right><font
size=1 face="Lucida Console,Tahoma,sans-serif">425.52 </td><td
align=right><font size=1 face="Lucida
Console,Tahoma,sans-serif">76% </td><td><font size=1 face="Lucida
Console,Tahoma,sans-serif">/usr/sybase/diskdump2 </td></tr>
<tr bgcolor=#EAEAEA><td><font size=1 face="Lucida
Console,Tahoma,sans-serif">/dev/vx/dsk/datadg/logdump1 </td><td
align=right><font size=1 face="Lucida
Console,Tahoma,sans-serif">1919.97 </td><td align=right><font size=1
face="Lucida Console,Tahoma,sans-serif">1207 </td><td align=right><font
size=1 face="Lucida Console,Tahoma,sans-serif">520.97 </td><td
align=right><font size=1 face="Lucida
Console,Tahoma,sans-serif">70% </td><td><font size=1 face="Lucida
Console,Tahoma,sans-serif">/usr/sybase/logdump1 </td></tr>
<tr bgcolor=#EAEAEA><td><font size=1 face="Lucida
Console,Tahoma,sans-serif">/dev/vx/dsk/datadg/logdump2 </td><td
align=right><font size=1 face="Lucida
Console,Tahoma,sans-serif">1919.97 </td><td align=right><font size=1
face="Lucida Console,Tahoma,sans-serif">1208.8 </td><td align=right><font
size=1 face="Lucida Console,Tahoma,sans-serif">519.17 </td><td
align=right><font size=1 face="Lucida
Console,Tahoma,sans-serif">70% </td><td><font size=1 face="Lucida
Console,Tahoma,sans-serif">/usr/sybase/logdump2 </td></tr>
<tr bgcolor=#EAEAEA><td><font size=1 face="Lucida
Console,Tahoma,sans-serif">/dev/vx/dsk/datadg/staging </td><td
align=right><font size=1 face="Lucida
Console,Tahoma,sans-serif">22079.89 </td><td align=right><font size=1
face="Lucida Console,Tahoma,sans-serif">12.63 </td><td align=right><font
size=1 face="Lucida Console,Tahoma,sans-serif">19859.26 </td><td
align=right><font size=1 face="Lucida
Console,Tahoma,sans-serif">1% </td><td><font size=1 face="Lucida
Console,Tahoma,sans-serif">/staging </td></tr>
<tr bgcolor=#EAEAEA><td><font size=1 face="Lucida
Console,Tahoma,sans-serif">/vol/dev/dsk/c1t6d0/sol_2_6_598_sparc_smcc_svr/s5&nbs
p;</td><td align=right><font size=1 face="Lucida
Console,Tahoma,sans-serif">0.98 </td><td align=right><font size=1
face="Lucida Console,Tahoma,sans-serif">0 </td><td align=right><font size=1
face="Lucida Console,Tahoma,sans-serif">0.88 </td><td align=right><font
size=1 face="Lucida Console,Tahoma,sans-serif">1% </td><td><font size=1
face="Lucida
Console,Tahoma,sans-serif">/cdrom/sol_2_6_598_sparc_smcc_svr/s5 </td></tr>
<tr bgcolor=#EAEAEA><td><font size=1 face="Lucida
Console,Tahoma,sans-serif">/vol/dev/dsk/c1t6d0/sol_2_6_598_sparc_smcc_svr/s4&nbs
p;</td><td align=right><font size=1 face="Lucida
Console,Tahoma,sans-serif">0.98 </td><td align=right><font size=1
face="Lucida Console,Tahoma,sans-serif">0 </td><td align=right><font size=1
face="Lucida Console,Tahoma,sans-serif">0.88 </td><td align=right><font
size=1 face="Lucida Console,Tahoma,sans-serif">1% </td><td><font size=1
face="Lucida
Console,Tahoma,sans-serif">/cdrom/sol_2_6_598_sparc_smcc_svr/s4 </td></tr>
<tr bgcolor=#EAEAEA><td><font size=1 face="Lucida
Console,Tahoma,sans-serif">/vol/dev/dsk/c1t6d0/sol_2_6_598_sparc_smcc_svr/s3&nbs
p;</td><td align=right><font size=1 face="Lucida
Console,Tahoma,sans-serif">0.98 </td><td align=right><font size=1
face="Lucida Console,Tahoma,sans-serif">0 </td><td align=right><font size=1
face="Lucida Console,Tahoma,sans-serif">0.88 </td><td align=right><font
size=1 face="Lucida Console,Tahoma,sans-serif">1% </td><td><font size=1
face="Lucida
Console,Tahoma,sans-serif">/cdrom/sol_2_6_598_sparc_smcc_svr/s3 </td></tr>
<tr bgcolor=#EAEAEA><td><font size=1 face="Lucida
Console,Tahoma,sans-serif">/vol/dev/dsk/c1t6d0/sol_2_6_598_sparc_smcc_svr/s2&nbs
p;</td><td align=right><font size=1 face="Lucida
Console,Tahoma,sans-serif">0.98 </td><td align=right><font size=1
face="Lucida Console,Tahoma,sans-serif">0 </td><td align=right><font size=1
face="Lucida Console,Tahoma,sans-serif">0.88 </td><td align=right><font
size=1 face="Lucida Console,Tahoma,sans-serif">1% </td><td><font size=1
face="Lucida
Console,Tahoma,sans-serif">/cdrom/sol_2_6_598_sparc_smcc_svr/s2 </td></tr>
<tr bgcolor=#EAEAEA><td><font size=1 face="Lucida
Console,Tahoma,sans-serif">/vol/dev/dsk/c1t6d0/sol_2_6_598_sparc_smcc_svr/s1&nbs
p;</td><td align=right><font size=1 face="Lucida
Console,Tahoma,sans-serif">46.84 </td><td align=right><font size=1
face="Lucida Console,Tahoma,sans-serif">37.33 </td><td align=right><font
size=1 face="Lucida Console,Tahoma,sans-serif">4.83 </td><td
align=right><font size=1 face="Lucida Console,Tahoma,sans-serif"><strong><font
color=red>89%</strong></font> </td><td><font size=1 face="Lucida
Console,Tahoma,sans-serif">/cdrom/sol_2_6_598_sparc_smcc_svr/s1 </td></tr>
<tr bgcolor=#EAEAEA><td><font size=1 face="Lucida
Console,Tahoma,sans-serif">/vol/dev/dsk/c1t6d0/sol_2_6_598_sparc_smcc_svr/s0&nbs
p;</td><td align=right><font size=1 face="Lucida
Console,Tahoma,sans-serif">482.42 </td><td align=right><font size=1
face="Lucida Console,Tahoma,sans-serif">482.42 </td><td align=right><font
size=1 face="Lucida Console,Tahoma,sans-serif">0 </td><td align=right><font
size=1 face="Lucida Console,Tahoma,sans-serif"><strong><font
color=red>100%</strong></font> </td><td><font size=1 face="Lucida
Console,Tahoma,sans-serif">/cdrom/sol_2_6_598_sparc_smcc_svr/s0 </td></tr>
<tr bgcolor=#EAEAEA><td><font size=1 face="Lucida
Console,Tahoma,sans-serif">sf-ss4-2:/cdrom/sybasecd </td><td
align=right><font size=1 face="Lucida
Console,Tahoma,sans-serif">110.95 </td><td align=right><font size=1
face="Lucida Console,Tahoma,sans-serif">110.95 </td><td align=right><font
size=1 face="Lucida Console,Tahoma,sans-serif">0 </td><td align=right><font
size=1 face="Lucida Console,Tahoma,sans-serif"><strong><font
color=red>100%</strong></font> </td><td><font size=1 face="Lucida
Console,Tahoma,sans-serif">/mnt </td></tr>
<tr bgcolor=#000000><th colspan=6 align=center><FONT COLOR=#FFFFCC><font size=1
face="Lucida Console,Tahoma,sans-serif">
<hr> </th></tr>
</table>
</td></tr>
</table>
<br>
<br><TABLE BORDER=0 cellpadding=3 cellspacing=0>
<tr><td>
<TABLE BORDER=0 cellpadding=3 cellspacing=0>
<tr bgcolor=#000000><th align=center><FONT COLOR=#FFFFCC><font size=1
face="Lucida Console,Tahoma,sans-serif">
cgi times </th></tr>
<tr bgcolor=#EAEAEA><td><font size=1 face="Lucida
Console,Tahoma,sans-serif">Start cgi at Fri Jan 15 02:50:18 PST 1999
</td></tr>
<tr bgcolor=#EAEAEA><td><font size=1 face="Lucida
Console,Tahoma,sans-serif"> End cgi at Fri Jan 15 02:50:18 PST 1999
</tr>
<tr bgcolor=#000000><th align=center><FONT COLOR=#FFFFCC><font size=1
face="Lucida Console,Tahoma,sans-serif">
<hr> </th></tr>
</table>
</td></tr>
</table>
<br><font size=2 face=Lucida Console>
<br><pre>0.06,0.01,0,0.01
0.07,0.01,0.03,0.06
</pre>
</body>
</html>
Reporter | ||
Updated•26 years ago
|
Summary: Rendering a strong tag add vertical space to that line of text. → Rendering a strong tag adds vertical space to that line of text.
Peter, the issue here seems to be that the <strong> tag is causing the font to
be larger than the rest of the fonts and that inflates the line height. Are we
choosing a larger font size than we should for <strong> (which is 'font-weight:
bolder;' in ua.css)
Comment 2•26 years ago
|
||
The syntax for the <TD> cells (without) <STRONG> is :
<td><font size=1 face="sans-serif">39% </td></tr>
The syntax for the <TD> cells (with) <STRONG> is :
<td><font size=1 face="sans-serif"><strong><font
color=#FFA800>100%</strong></font> </td>
Or, broken out for clarity ...
<td>
<font size=1 face="sans-serif">
<strong>
<font color=red>100%
</strong>
</font>
</td>
If you change the ' ' to 'FOO', you will see that it is the 'FOO'
(or ' ') that is "oversized" on each line that includes a <STRONG>
(i.e., the <FONT SIZE=1> has been closed out (probably by the unbalanced
<STRONG> nesting). The syntax is admittedly ambiguous, and I'm not sure
what the correct behaviour should be (except for people expecting NAV4
compatibility).
Comment 3•26 years ago
|
||
per leger, assigning QA contacts to all open bugs without QA contacts according
to list at http://bugzilla.mozilla.org/describecomponents.cgi?product=Browser
Updated•26 years ago
|
Status: NEW → ASSIGNED
Target Milestone: M5
Updated•26 years ago
|
Assignee: peterl → rickg
Status: ASSIGNED → NEW
Component: Layout → Parser
Target Milestone: M5
Comment 4•26 years ago
|
||
This is a parser/DTD issue.
Updated•25 years ago
|
Assignee: peterl → rickg
Comment 6•25 years ago
|
||
Still a parser/DTD issue.
In the recuded case:
<td>
<font size=1 face="sans-serif">
<strong>
<font color=red>100%
</strong>
</font>
</td>
the final   is outside the <font size=1> in our content model. Nav treats it
as inside.
*** This bug has been marked as a duplicate of 991 ***
Status: NEW → RESOLVED
Closed: 25 years ago
Resolution: --- → DUPLICATE
Updated•25 years ago
|
Status: RESOLVED → VERIFIED
Comment 8•25 years ago
|
||
Agreed. This bug is a duplicated of 991.
You need to log in
before you can comment on or make changes to this bug.
Description
•