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

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>8535</bug_id>
          
          <creation_ts>2006-04-22 08:36:14 -0700</creation_ts>
          <short_desc>Incorrect cyan debug mode painting</short_desc>
          <delta_ts>2013-06-04 11:08:42 -0700</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>Layout and Rendering</component>
          <version>420+</version>
          <rep_platform>Mac</rep_platform>
          <op_sys>OS X 10.4</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>WORKSFORME</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>HasReduction</keywords>
          <priority>P3</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Alexey Proskuryakov">ap</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>ddkilzer</cc>
    
    <cc>ggaren</cc>
    
    <cc>ian</cc>
    
    <cc>robert</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>40152</commentid>
    <comment_count>0</comment_count>
    <who name="Alexey Proskuryakov">ap</who>
    <bug_when>2006-04-22 08:36:14 -0700</bug_when>
    <thetext>The attached test case paints incorrectly in debug builds.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>40153</commentid>
    <comment_count>1</comment_count>
      <attachid>7910</attachid>
    <who name="Alexey Proskuryakov">ap</who>
    <bug_when>2006-04-22 08:36:34 -0700</bug_when>
    <thetext>Created attachment 7910
test case</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>40155</commentid>
    <comment_count>2</comment_count>
    <who name="Alexey Proskuryakov">ap</who>
    <bug_when>2006-04-22 08:40:38 -0700</bug_when>
    <thetext>From [WebFrameView drawRect:]:

#ifndef NDEBUG
        if ([[self _scrollView] drawsBackground]) {
            [[NSColor cyanColor] set];
            NSRectFill(rect);
        }
#endif

Since RenderWidget::paint() calls paintBoxDecorations() first, and m_widget-&gt;paint() later, this paints over an already painted background.

Removing this block has fixed the problem in Safari, but DumpRenderTree didn&apos;t paint the IFRAME background at all then. I am not sure how much related these problems are, though.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>50294</commentid>
    <comment_count>3</comment_count>
    <who name="Alexey Proskuryakov">ap</who>
    <bug_when>2006-07-18 12:06:09 -0700</bug_when>
    <thetext>*** Bug 9982 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>50296</commentid>
    <comment_count>4</comment_count>
    <who name="David Kilzer (:ddkilzer)">ddkilzer</who>
    <bug_when>2006-07-18 12:21:42 -0700</bug_when>
    <thetext>It&apos;s really interesting to see what gets repainted when various actions are taken, though!
</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>42589</commentid>
    <comment_count>5</comment_count>
    <who name="Alexey Proskuryakov">ap</who>
    <bug_when>2006-12-10 21:35:53 -0800</bug_when>
    <thetext>*** Bug 11799 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>896965</commentid>
    <comment_count>6</comment_count>
    <who name="Robert Hogan">robert</who>
    <bug_when>2013-06-04 11:05:31 -0700</bug_when>
    <thetext>This works fine for me on a debug build of DumpRenderTree for the Qt port and a debug build of QtTestBrowser. OK to close?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>896969</commentid>
    <comment_count>7</comment_count>
    <who name="Alexey Proskuryakov">ap</who>
    <bug_when>2013-06-04 11:08:42 -0700</bug_when>
    <thetext>This code is Mac specific, so testing Qt is not necessarily relevant. However, I cannot reproduce on Mac either, and haven&apos;t seen such cyan painting in years.</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="0"
              isprivate="0"
          >
            <attachid>7910</attachid>
            <date>2006-04-22 08:36:34 -0700</date>
            <delta_ts>2006-04-22 08:36:34 -0700</delta_ts>
            <desc>test case</desc>
            <filename>iframe-border-vs-color.html</filename>
            <type>text/html</type>
            <size>189</size>
            <attacher name="Alexey Proskuryakov">ap</attacher>
            
              <data encoding="base64">PGh0bWw+CjxoZWFkPgo8dGl0bGU+YnVnMjwvdGl0bGU+Cgo8L2hlYWQ+Cjxib2R5PgogICAgPGlm
cmFtZSBzcmM9ImRhdGE6dGV4dC9odG1sLFNob3VsZCBoYXZlIGEgeWVsbG93IGJhY2tncm91bmQi
IGZyYW1lYm9yZGVyPSIxIiBzdHlsZT0iYmFja2dyb3VuZC1jb2xvcjp5ZWxsb3ciPjwvaWZyYW1l
Pgo8L2JvZHk+CjwvaHRtbD4K
</data>

          </attachment>
      

    </bug>

</bugzilla>