<?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>135599</bug_id>
          
          <creation_ts>2006-10-13 18:06:08 +0000</creation_ts>
          <short_desc>[test case] overflow sometimes not painted/repainted</short_desc>
          <delta_ts>2006-10-13 19:24:42 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>2</classification_id>
          <classification>Applications</classification>
          <product>konqueror</product>
          <component>khtml renderer</component>
          <version>unspecified</version>
          <rep_platform>Compiled Sources</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>1</everconfirmed>
          <reporter name="Allan Sandfeld">kde</reporter>
          <assigned_to name="Konqueror Bugs">konqueror-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>476641</commentid>
    <comment_count>0</comment_count>
    <who name="Allan Sandfeld">kde</who>
    <bug_when>2006-10-13 18:06:08 +0000</bug_when>
    <thetext>Version:            (using KDE Devel)
Installed from:    Compiled sources

I discovered a problem with the online commic sinfest.net and have investigated the issue.

It seems overflow is sometimes not painted or repainted in the following specific circumstance:
  &lt;div style=&quot;position: absolute; width: 800; height: 141;&quot;&gt;
  
  &lt;div style=&quot;width: 800; height: 200;&quot;&gt;
  
  &lt;div style=&quot;border: 5px solid black; height: 500px; width: 600px;&quot;&gt; &lt;/div&gt;

It seems to need to be constrained by two boxes and the outer box needs to be positioned for the bug to trigger.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>476643</commentid>
    <comment_count>1</comment_count>
      <attachid>18113</attachid>
    <who name="Allan Sandfeld">kde</who>
    <bug_when>2006-10-13 18:07:05 +0000</bug_when>
    <thetext>Created attachment 18113
Test case</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>476666</commentid>
    <comment_count>2</comment_count>
    <who name="Allan Sandfeld">kde</who>
    <bug_when>2006-10-13 19:24:41 +0000</bug_when>
    <thetext>SVN commit 595245 by carewolf:

Remove complete nonsense I accidently imported from WebCore.
BUG: 135599


 M  +0 -4      render_box.cpp  


--- branches/KDE/3.5/kdelibs/khtml/rendering/render_box.cpp #595244:595245
@@ -1709,10 +1709,6 @@
 
     height += bordersPlusPadding;
 
-    // If our natural/content height exceeds the new height once we&apos;ve set it, then we
-    // need to make sure to update overflow to track the spillout.
-    if (m_height &gt; height &amp;&amp; isRenderBlock())
-        static_cast&lt;RenderBlock*&gt;(this)-&gt;setOverflowHeight(m_height);
     // Set final height value.
     m_height = height;
 }
</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="0"
              isprivate="0"
          >
            <attachid>18113</attachid>
            <date>2006-10-13 18:07:05 +0000</date>
            <delta_ts>2006-10-13 18:07:05 +0000</delta_ts>
            <desc>Test case</desc>
            <filename>sinfest_bug2.html</filename>
            <type>text/html</type>
            <size>203</size>
            <attacher name="Allan Sandfeld">kde</attacher>
            
              <data encoding="base64">PGh0bWw+Cjxib2R5PgogIDxkaXYgc3R5bGU9InBvc2l0aW9uOiBhYnNvbHV0ZTsgd2lkdGg6IDgw
MDsgaGVpZ2h0OiAxNDE7Ij4KCiAgPGRpdiBzdHlsZT0id2lkdGg6IDgwMDsgaGVpZ2h0OiAyMDA7
Ij4KCiAgPGRpdiBzdHlsZT0iYm9yZGVyOiA1cHggc29saWQgYmxhY2s7IGhlaWdodDogNTAwcHg7
IHdpZHRoOiA2MDBweDsiPiA8L2Rpdj4KPC9ib2R5Pgo=
</data>

          </attachment>
      

    </bug>

</bugzilla>