Bug 75272 - TESTCASE: khtml ignores color specified by "font color" within "<p>" tags
Summary: TESTCASE: khtml ignores color specified by "font color" within "<p>" tags
Status: RESOLVED DUPLICATE of bug 67916
Alias: None
Product: konqueror
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: unspecified Linux
: NOR normal
Target Milestone: ---
Assignee: Konqueror Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-02-15 12:40 UTC by Jens
Modified: 2004-02-15 21:50 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments
Testcase HTML code showing the bug (261 bytes, text/html)
2004-02-15 12:40 UTC, Jens
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jens 2004-02-15 12:40:12 UTC
Version:           3.2.0 (using KDE 3.2.0,  (testing/unstable))
Compiler:          gcc version 3.3.3 20040110 (prerelease) (Debian)
OS:          Linux (i686) release 2.4.22b-w4l-p4

Hi,

take this HTML code:

<HTML><BODY>
<TABLE border=2 cellspacing=5 bgcolor="black" > 
<TR><TD><p>
	<font color="red" >
		<p align="left">Text 1 inside P-tags</P>
		Text 2 outside P-Tags
		<p align="right">Text 3 inside another P-tag</P>
	</font>
</p></TD></TR>
</TABLE>
</BODY></HTML>


The text inside the <font>...</font> is NOT visible (ie. black), although it is supposed to be in red. If you take away the first "<p>" tag it is displayed correctly.

Mozilla displays it correctly either way.

I copied this as an attachment so you can view it quickly.


Thanks! :)


Jens

PS: Yes, I know the HTML code is broken. Unfortunately it's used quite frequently in real life ;(
Comment 1 Jens 2004-02-15 12:40:44 UTC
Created attachment 4700 [details]
Testcase HTML code showing the bug
Comment 2 Jan Schaefer 2004-02-15 12:47:29 UTC
I can confirm with current CVS.
Comment 3 Stephan Kulow 2004-02-15 21:50:11 UTC
look at the DOM tree to see what happens

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