<?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>45509</bug_id>
          
          <creation_ts>2010-09-09 18:04:16 -0700</creation_ts>
          <short_desc>REGRESSION: r61215 broke web views with transparent backgrounds</short_desc>
          <delta_ts>2010-09-30 07:00:49 -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>528+ (Nightly build)</version>
          <rep_platform>All</rep_platform>
          <op_sys>OS X 10.5</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>InRadar</keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Simon Fraser (smfr)">simon.fraser</reporter>
          <assigned_to name="Simon Fraser (smfr)">simon.fraser</assigned_to>
          <cc>hausmann</cc>
    
    <cc>jarmo.backlund</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>276896</commentid>
    <comment_count>0</comment_count>
    <who name="Simon Fraser (smfr)">simon.fraser</who>
    <bug_when>2010-09-09 18:04:16 -0700</bug_when>
    <thetext>r61215 caused RenderView to paint the viewport background when the
document element&apos;s renderer is known to not fill opaquely paint
the entire viewport, i.e. more often than it did before.

This exposed a latent, long-standing bug which was introducted
in r14638 (the RenderCanvas -&gt; RenderView rename), where a call
to view()-&gt;isTransparent() was not converted to frameView()-&gt;isTransparent(),
yet happened to still compile because of RenderObject::isTransparent().

This resulted in us painting the viewport background, even when
WebView clients explicitly said that they wanted a transparent
WebView.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>276899</commentid>
    <comment_count>1</comment_count>
    <who name="Simon Fraser (smfr)">simon.fraser</who>
    <bug_when>2010-09-09 18:08:42 -0700</bug_when>
    <thetext>&lt;rdar://problem/8142166&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>276900</commentid>
    <comment_count>2</comment_count>
    <who name="Simon Fraser (smfr)">simon.fraser</who>
    <bug_when>2010-09-09 18:08:51 -0700</bug_when>
    <thetext>http://trac.webkit.org/changeset/67137</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>287529</commentid>
    <comment_count>3</comment_count>
    <who name="Simon Hausmann">hausmann</who>
    <bug_when>2010-09-30 06:52:55 -0700</bug_when>
    <thetext>*** Bug 46458 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>287530</commentid>
    <comment_count>4</comment_count>
    <who name="Simon Hausmann">hausmann</who>
    <bug_when>2010-09-30 06:59:05 -0700</bug_when>
    <thetext>&lt;cherry-pick-for-backport: r67137&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>287531</commentid>
    <comment_count>5</comment_count>
    <who name="Simon Hausmann">hausmann</who>
    <bug_when>2010-09-30 07:00:41 -0700</bug_when>
    <thetext>Revision r67137 cherry-picked into qtwebkit-2.1 with commit bf85131 &lt;http://gitorious.org/webkit/qtwebkit/commit/bf85131&gt;</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>