Closed Bug 8996 Opened 25 years ago Closed 25 years ago

<font color="#ffffff"> has nog effect

Categories

(Core :: Layout, defect, P3)

x86
Windows NT
defect

Tracking

()

VERIFIED DUPLICATE of bug 991

People

(Reporter: ushackles, Assigned: harishd)

References

Details

Attachments

(1 file)

the font colors on the page below does not seem to have any effect and the
tables get weird sizes in my m7 build (build id-1999062113) this does not occur
in my older builds. access to my webserver has been restricted so i'll just copy
& paste the page into this description:

----------------------------------
<title>Organisation - Meny</title>
<center>

<table border=0 bgcolor="#ffffff" cellspacing=5><tr>

<td align=center valign=center rowspan=2>

<table border=0 bgcolor="#000000" cellspacing=1 cellpadding=0><tr><td>
<table border=0 bgcolor="#ffffff" width=160 height=160 cellspacing=1><tr><td
align=left valign=top>

<center>

<table border=0 bgcolor="#AA2000" width=150><tr><td><font face="Arial" size="2"
color="#ffffff"><center><b>
Organisationsschema
</b></center></td></tr></table>

</center>

<table border=0><tr><td>&nbsp;</td><td>
<a href="orgschema.html" target="org2">
HTML
</a><br>
Utökad version av organisationsschemat med tel nr, adresser etc.<br><br>
<a href="http://www.lkp.dynamics.se/regelver/instrukt/0/002_rn.pdf">PDF</a><br>
Den officiella versionen.<br>
</td><td>&nbsp;</td></tr></table>
</td></tr></table></td></tr></table>

</td>

<td align=center valign=center>

<table border=0 bgcolor="#000000" cellspacing=1 cellpadding=0><tr><td>
<table border=0 bgcolor="#ffffff" width=160 height=160 cellspacing=1><tr><td
align=left valign=top>

<center><table border=0 bgcolor="#AA2000" width=150><tr><td><font face="Arial"
size="2" color="#ffffff"><center><b>
RN</b></center></font></td></tr></table>
</center>
<br>

<ul>
<li><a href="rn_protokoll.html">Protokoll</a></li>
<li><a href="rn_narvaro.html">Närvarolista</a></li>
<li><a href="rn_malbeskrivning_rn.html">Målbeskrivning</a></li>
</ul>
</td></tr></table></td></tr></table>


</td>

<td align=center valign=center>


<table border=0 bgcolor="#000000" cellspacing=1 cellpadding=0><tr><td>
<table border=0 bgcolor="#ffffff" width=160 height=160 cellspacing=1><tr><td
align=left valign=top>

<center><table border=0 bgcolor="#AA2000" width=150><tr><td><font face="Arial"
size="2" color="#ffffff"><center><b>
RNA
</b></center></font></td></tr></table>
</center>
<br>

<ul>
<li><a href="rna_protokoll.html">Protokoll</a></li>
<li><a href="rna_narvaro.html">Närvarolista</a></li>
<li><a href="rna_malbeskrivning_rn.html">Målbeskrivning</a></li>
</ul>
</td></tr></table></td></tr></table>


</tr>
<tr>

</td>

<td align=center valign=center>



<table border=0 bgcolor="#000000" cellspacing=1 cellpadding=0><tr><td>
<table border=0 bgcolor="#ffffff" width=160 height=160 cellspacing=1><tr><td
align=left valign=top>

<center><table border=0 bgcolor="#AA2000" width=150><tr><td><font face="Arial"
size="2" color="#ffffff"><center><b>
RNU</b></center></font></td></tr></table>
</center>
<br>

<ul>
<li><a href="rnu_protokoll.html">Protokoll</a></li>
<li><a href="rnu_narvaro.html">Närvarolista</a></li>
<li><a href="rnu_malbeskrivning_rn.html">Målbeskrivning</a></li>
</ul>

</td></tr></table></td></tr></table>


</td>

<td align=center valign=center>


<table border=0 bgcolor="#000000" cellspacing=1 cellpadding=0><tr><td>
<table border=0 bgcolor="#ffffff" width=160 height=160 cellspacing=1><tr><td
align=left valign=top>

<center><table border=0 bgcolor="#AA2000" width=150><tr><td><font face="Arial"
size="2" color="#ffffff"><center><b>
RNV</b></center></font></td></tr></table>
</center>
<br>

<ul>
<li><a href="rnv_protokoll.html">Protokoll</a></li>
<li><a href="rnv_narvaro.html">Närvarolista</a></li>
<li><a href="rnv_malbeskrivning_rn.html">Målbeskrivning</a></li>
</ul>

</td></tr></table></td></tr></table>

</td></tr></table>
---------------------------------------------------
Assignee: don → rickg
Component: Browser-General → Layout
I've tracked down what caused the problem and it seems as if it is not at all a
table problem but a problem with the normal <center> and <font> tags. (BTW,
sorry for the old messy example :) ) This is it: When having a <center>
</center> pair inside a <font> </font> pair, or even just after a <font> tag,
the <font> tag will have no effect. It also seems ta add a new line above any
text inside the <center> </center> part. Example code:

---------------
<title>test</title>
<body bgcolor="#808080">
blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah
blah blah blah blah blah blah blah <br>
<font color="#ffffff" face="arial">
<center>
blah<br>
</center>
</font>
blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah
blah blah blah blah blah blah blah <br>
<font color="#ffffff" face="arial">
blah<br>
------------------------------------------

The bug occurs in m6 and m7 and possibly other milestones also. However it did
not occur in a very old nightly build i found.

/ Uncle Shackles
Assignee: rickg → harishd
Harish -- this is just a simple residual style bug.
Target Milestone: M10
QA Contact: leger → petersen
Updating QA Contact...petersen, can you reproduce?
With the Aug 10th build, I can reproduce this issue. However, the CENTER element
being insert into a FONT element is not following HTML 4.0 Transitional
guidelines. If you try to validate the attached test case, it fail under HTML 4.0
Transitional. Moving the CENTER element outside of the font element will fix this
and the test case will validate.
Target Milestone: M10 → M11
Setting to M11.
*** Bug 10943 has been marked as a duplicate of this bug. ***
*** Bug 12868 has been marked as a duplicate of this bug. ***
*** Bug 8953 has been marked as a duplicate of this bug. ***
Status: NEW → RESOLVED
Closed: 25 years ago
Resolution: --- → DUPLICATE
This is one of the millions of bugs where the parser won't let <font> contain
blocks (which, after all, is correct) but where legacy pages expect this to
work. Marking as dup of 991, which is the main holding tank for this bug and
its symptoms.


*** This bug has been marked as a duplicate of 991 ***
Status: RESOLVED → VERIFIED
Agreed. This is a duplicate of 991.
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: