Bug 67834 - unexpected handling of multiple <font> tags
Summary: unexpected handling of multiple <font> tags
Status: RESOLVED DUPLICATE of bug 67768
Alias: None
Product: konqueror
Classification: Applications
Component: khtml (other bugs)
Version First Reported In: unspecified
Platform: Compiled Sources Linux
: NOR normal
Target Milestone: ---
Assignee: Konqueror Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-11-10 23:46 UTC by David Chester
Modified: 2003-11-24 11:44 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description David Chester 2003-11-10 23:46:10 UTC
Version:            (using KDE Devel)
Installed from:    Compiled sources
OS:          Linux

I am using the Orth debs of CVS HEAD available from hobbiton.opendoorsoftware.com.

Starting with the November 3, 2003 build, konqueror sometimes displays sections of text using the wrong font.  For example, on salon.com, the "From the wires" column displays in Arial instead of Verdana.  The HTML for that section of code begins like this:

<font face="Verdana, Arial, Helvetica, sans-serif" size="2">
<font face="Verdana, Arial, Helvetica, sans-serif" size="2">
<p><br />
<p><img src="http://images.salon.com/src/arrow.gif" width=8 height=7 border=0 alt="."><b><a href="/wire/index.html">From the wires</a></b></p>
<p><a href="/news/wire/2003/11/10/supreme_court/index.html">Supreme Court to hear Guantanamo appeals</a><p>
<a href="/ent/wire/2003/11/10/reagans/index.html">CBS denies pressure led to axing of "Reagans"</a><p>  

It seems that the redundant font element is causing the problem, as this test code confirms:

<font face="Verdana, Arial" size="2">
This text appears in Verdana, as expected.
</font>
<p>
<font face="Verdana, Arial" size="2">
<font face="Verdana, Arial" size="2">
This text appears in Arial, clearly not what was intended.
</font></font>

While the redundant font elements may not be in good form, this used to be handled correctly by khtml; and mozilla and IE display as expected.  If I recall correctly, this all was not an issue in the October 20 builds.
Comment 1 Paul Sprakes 2003-11-11 00:18:54 UTC
This looks like another manifestation of bug #67768
Comment 2 Stephan Kulow 2003-11-24 11:44:11 UTC

*** This bug has been marked as a duplicate of 67768 ***