<?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>123395</bug_id>
          
          <creation_ts>2006-03-10 21:02:45 +0000</creation_ts>
          <short_desc>Absolutely positioned HTML is offset by header.</short_desc>
          <delta_ts>2007-09-14 12:17:01 +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>GUI</component>
          <version>1.9</version>
          <rep_platform>Gentoo Packages</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>96557</dup_id>
          
          <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="Joe Kepley">joekepley</reporter>
          <assigned_to name="kdepim bugs">pim-bugs-null</assigned_to>
          
          
          <cf_commitlink></cf_commitlink>
          <cf_versionfixedin></cf_versionfixedin>
          <cf_sentryurl></cf_sentryurl>
          <votes>0</votes>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>420826</commentid>
    <comment_count>0</comment_count>
    <who name="Joe Kepley">joekepley</who>
    <bug_when>2006-03-10 21:02:45 +0000</bug_when>
    <thetext>Version:           1.9 (using KDE KDE 3.5.0)
Installed from:    Gentoo Packages
Compiler:          gcc version 3.4.4 (Gentoo 3.4.4-r1, ssp-3.4.4-1.0, pie-8.7.8) 
OS:                Linux

When an HTML email contains absolutely-positioned elements (ie a DIV with CSS position:absolute;top:100px), the email header appears to be included in the height calculation. Because of this, elements don&apos;t line up properly. 

How to reproduce: 
Create an HTML email with some elements positioned absolutely in pixels from the top of the screen. The position of the body begins *after* the header, but absolutely positioned elements are positioned from the top of the window, which means that the calculation *includes* the header. 

Expected Behavior: 
All HTML elements (either absolutely or normally positioned) should use the same frame of reference. 

Example: 
Email with absolutely-positioned elements in Kmail: 
http://blendinteractive.com/kmailbug/kmail_html.png

The same email in Thunderbird: 
http://blendinteractive.com/kmailbug/kmail_html2.png

The same email in KMail using Brief headers. Notice that the offset is reduced, indicating that the elements are absolutely positioned from the top of the window rather than the top of the content.
http://blendinteractive.com/kmailbug/kmail_html3.png</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>473246</commentid>
    <comment_count>1</comment_count>
    <who name="Rex Dieter">rdieter</who>
    <bug_when>2006-09-27 16:52:41 +0000</bug_when>
    <thetext>

*** This bug has been marked as a duplicate of 96557 ***</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>