Bug 96557 - Incorrect rendering of HTML messages that use absolute positioning
Summary: Incorrect rendering of HTML messages that use absolute positioning
Status: RESOLVED FIXED
Alias: None
Product: kmail
Classification: Applications
Component: general (show other bugs)
Version: 1.7.2
Platform: unspecified Linux
: NOR normal
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
: 109625 123395 140328 (view as bug list)
Depends on:
Blocks:
 
Reported: 2005-01-08 01:01 UTC by Alexei Dets
Modified: 2009-03-18 10:26 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alexei Dets 2005-01-08 01:01:26 UTC
Version:           1.7.2 (using KDE 3.3.2-1.3.1.kde, Fedora Core release 1 (Yarrow))
Compiler:          gcc version 3.3.2 20031022 (Red Hat Linux 3.3.2-1)
OS:                Linux (i686) release 2.4.22-1.2199.nptlsmp

Looks like that when displaying HTML messages KMail calculates element positions not from the start of the message body but from the top of the message frame.
So, if message contains elements that use absolute positions, and these positions are near the top of the document (example: <DIV id=Layer1 
style="Z-INDEX: 1; LEFT: 27px; WIDTH: 729px; POSITION: absolute; TOP: 23px; HEIGHT: 93px">
EL 1
Comment 1 Allan Sandfeld 2005-01-08 01:30:18 UTC
Isn't #96020 the security aspect of this bug?
Comment 2 Alexei Dets 2005-01-11 16:06:29 UTC
Oh! Yes, exactly.
Comment 3 Rex Dieter 2006-09-27 16:52:34 UTC
*** Bug 109625 has been marked as a duplicate of this bug. ***
Comment 4 Rex Dieter 2006-09-27 16:52:43 UTC
*** Bug 123395 has been marked as a duplicate of this bug. ***
Comment 5 Eckhart Wörner 2007-01-27 01:24:57 UTC
*** Bug 140328 has been marked as a duplicate of this bug. ***
Comment 6 Tristan Hoffmann 2008-02-28 21:37:28 UTC
Can somebody test this with a recent KMail version?
Comment 7 Thomas McGuire 2009-03-16 17:25:56 UTC
SVN commit 940115 by tmcguire:

Make sure HTMl messages can not overwrite the header.

BUG: 96557
CCBUG: 96020


 M  +9 -0      objecttreeparser.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=940115
Comment 8 Thomas McGuire 2009-03-18 10:26:58 UTC
SVN commit 940769 by tmcguire:

Backport r940115 by tmcguire from trunk to the 4.2 branch:

Make sure HTMl messages can not overwrite the header.

CCBUG: 96557
CCBUG: 96020



 M  +9 -0      objecttreeparser.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=940769