Bug 72587 - [test case] text is colored incorrectly in some (broken) HTML pages
Summary: [test case] text is colored incorrectly in some (broken) HTML pages
Status: RESOLVED DUPLICATE of bug 67916
Alias: None
Product: konqueror
Classification: Applications
Component: khtml parsing (show other bugs)
Version: 4.0
Platform: unspecified Linux
: NOR normal
Target Milestone: ---
Assignee: Konqueror Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-01-14 00:32 UTC by M
Modified: 2004-01-14 13:14 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments
Illustration of the coloring bug. (231 bytes, text/plain)
2004-01-14 12:10 UTC, M
Details

Note You need to log in before you can comment on or make changes to this bug.
Description M 2004-01-14 00:32:31 UTC
Version:           4.0 (using KDE 3.1.94 (CVS >= 20031206), compiled sources)
Compiler:          gcc version 3.4 20031210 (experimental)
OS:          Linux (i686) release 2.6.1

Text is rendered the wrong color after certain incorrect tag combinations.  3.1.2 does the right thing.  Example: http://www.opensource.org/halloween/halloween1.php  The problem seems to be caused by incorrectly overlapping tags.
Comment 1 Stephan Kulow 2004-01-14 10:47:02 UTC
Can you try to reduce the HTML to it's minimum?
Comment 2 M 2004-01-14 12:10:55 UTC
Created attachment 4156 [details]
Illustration of the coloring bug.

The text in this file is colored incorrectly, all green.
Comment 3 M 2004-01-14 12:11:56 UTC
The problem is caused by a <p> tag inside a <font> region.  I've attached an example.  It's possible that other combinations could cause similar things, of course.  Note that this is invalid HTML.
Comment 4 Stephan Kulow 2004-01-14 13:14:59 UTC
thanks for the analysis. That's a known regression actually

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