<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.kde.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.6"
          urlbase="https://bugs.kde.org/"
          
          maintainer="sysadmin@kde.org"
>

    <bug>
          <bug_id>96557</bug_id>
          
          <creation_ts>2005-01-08 01:01:26 +0000</creation_ts>
          <short_desc>Incorrect rendering of HTML messages that use absolute positioning</short_desc>
          <delta_ts>2009-03-18 10:26:58 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>10</classification_id>
          <classification>Unmaintained</classification>
          <product>kmail</product>
          <component>general</component>
          <version>1.7.2</version>
          <rep_platform>unspecified</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>NOR</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>0</everconfirmed>
          <reporter name="Alexei Dets">adets</reporter>
          <assigned_to name="kdepim bugs">pim-bugs-null</assigned_to>
          <cc>joekepley</cc>
    
    <cc>mswilliamson</cc>
    
    <cc>symbiont</cc>
          
          <cf_commitlink></cf_commitlink>
          <cf_versionfixedin></cf_versionfixedin>
          <cf_sentryurl></cf_sentryurl>
          <votes>9</votes>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>300875</commentid>
    <comment_count>0</comment_count>
    <who name="Alexei Dets">adets</who>
    <bug_when>2005-01-08 01:01:26 +0000</bug_when>
    <thetext>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: &lt;DIV id=Layer1 
style=&quot;Z-INDEX: 1; LEFT: 27px; WIDTH: 729px; POSITION: absolute; TOP: 23px; HEIGHT: 93px&quot;&gt;
EL 1</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>300879</commentid>
    <comment_count>1</comment_count>
    <who name="Allan Sandfeld">kde</who>
    <bug_when>2005-01-08 01:30:18 +0000</bug_when>
    <thetext>Isn&apos;t #96020 the security aspect of this bug?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>301942</commentid>
    <comment_count>2</comment_count>
    <who name="Alexei Dets">adets</who>
    <bug_when>2005-01-11 16:06:29 +0000</bug_when>
    <thetext>Oh! Yes, exactly.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>473245</commentid>
    <comment_count>3</comment_count>
    <who name="Rex Dieter">rdieter</who>
    <bug_when>2006-09-27 16:52:34 +0000</bug_when>
    <thetext>*** Bug 109625 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>473247</commentid>
    <comment_count>4</comment_count>
    <who name="Rex Dieter">rdieter</who>
    <bug_when>2006-09-27 16:52:43 +0000</bug_when>
    <thetext>*** Bug 123395 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>504341</commentid>
    <comment_count>5</comment_count>
    <who name="Eckhart Wörner">ewoerner</who>
    <bug_when>2007-01-27 01:24:57 +0000</bug_when>
    <thetext>*** Bug 140328 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>583445</commentid>
    <comment_count>6</comment_count>
    <who name="Tristan Hoffmann">kde</who>
    <bug_when>2008-02-28 21:37:28 +0000</bug_when>
    <thetext>Can somebody test this with a recent KMail version?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>731348</commentid>
    <comment_count>7</comment_count>
    <who name="Thomas McGuire">mcguire</who>
    <bug_when>2009-03-16 17:25:56 +0000</bug_when>
    <thetext>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&amp;revision=940115</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>732049</commentid>
    <comment_count>8</comment_count>
    <who name="Thomas McGuire">mcguire</who>
    <bug_when>2009-03-18 10:26:58 +0000</bug_when>
    <thetext>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&amp;revision=940769</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>