<?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>76478</bug_id>
          
          <creation_ts>2012-01-17 14:19:57 -0800</creation_ts>
          <short_desc>REGRESSION: iframes with composited contents are not transparent in WK1</short_desc>
          <delta_ts>2012-05-29 15:25:08 -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>Unspecified</rep_platform>
          <op_sys>Unspecified</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="Adrienne Walker">enne</assigned_to>
          <cc>adele</cc>
    
    <cc>enne</cc>
    
    <cc>fpizlo</cc>
    
    <cc>jamesr</cc>
    
    <cc>simon.fraser</cc>
    
    <cc>webkit-bug-importer</cc>
    
    <cc>webkit.review.bot</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>537350</commentid>
    <comment_count>0</comment_count>
    <who name="Simon Fraser (smfr)">simon.fraser</who>
    <bug_when>2012-01-17 14:19:57 -0800</bug_when>
    <thetext>The pixel result of compositing/iframes/resources/repaint-after-losing-scrollbars-iframe.html from DRT shows that the iframes are showing up as opaque white. This reproduces in a WK1 window in Safari.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>537357</commentid>
    <comment_count>1</comment_count>
    <who name="Simon Fraser (smfr)">simon.fraser</who>
    <bug_when>2012-01-17 14:35:22 -0800</bug_when>
    <thetext>I think http://trac.webkit.org/changeset/92874 may have broken this. FrameView::useSlowRepaints() returns &apos;false&apos; for iframes with composited content, but Widget::paint() (in WidgetMac) relies on [[scrollView contentView] copiesOnScroll] to decide when to turn off background drawing.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>537361</commentid>
    <comment_count>2</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2012-01-17 14:39:05 -0800</bug_when>
    <thetext>&lt;rdar://problem/10710494&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>537362</commentid>
    <comment_count>3</comment_count>
    <who name="Simon Fraser (smfr)">simon.fraser</who>
    <bug_when>2012-01-17 14:41:21 -0800</bug_when>
    <thetext>WidgetMac really needs to get at FrameView&apos;s m_contentIsOpaque bit, but that would be a layering violation.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>614913</commentid>
    <comment_count>4</comment_count>
    <who name="Filip Pizlo">fpizlo</who>
    <bug_when>2012-05-02 18:36:06 -0700</bug_when>
    <thetext>The relevant test appears to pass as of r115915</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>614916</commentid>
    <comment_count>5</comment_count>
    <who name="Simon Fraser (smfr)">simon.fraser</who>
    <bug_when>2012-05-02 18:37:47 -0700</bug_when>
    <thetext>compositing/iframes/resources/repaint-after-losing-scrollbars-iframe.html is the iframe source, not the actual test. I probably meant compositing/iframes/repaint-after-losing-scrollbars.html.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>614917</commentid>
    <comment_count>6</comment_count>
    <who name="Filip Pizlo">fpizlo</who>
    <bug_when>2012-05-02 18:38:19 -0700</bug_when>
    <thetext>(In reply to comment #5)
&gt; compositing/iframes/resources/repaint-after-losing-scrollbars-iframe.html is the iframe source, not the actual test. I probably meant compositing/iframes/repaint-after-losing-scrollbars.html.

I figured that&apos;s what you meant, and that is indeed what I&apos;m referring to.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>614918</commentid>
    <comment_count>7</comment_count>
    <who name="Simon Fraser (smfr)">simon.fraser</who>
    <bug_when>2012-05-02 18:38:46 -0700</bug_when>
    <thetext>This still fails. enne, can you look at this?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>617739</commentid>
    <comment_count>8</comment_count>
    <who name="Adrienne Walker">enne</who>
    <bug_when>2012-05-07 11:14:00 -0700</bug_when>
    <thetext>(In reply to comment #7)
&gt; This still fails. enne, can you look at this?

Sure, I can take a look.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>618169</commentid>
    <comment_count>9</comment_count>
      <attachid>140636</attachid>
    <who name="Adrienne Walker">enne</who>
    <bug_when>2012-05-07 17:42:04 -0700</bug_when>
    <thetext>Created attachment 140636
Patch</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>618171</commentid>
    <comment_count>10</comment_count>
    <who name="Adrienne Walker">enne</who>
    <bug_when>2012-05-07 17:43:27 -0700</bug_when>
    <thetext>(In reply to comment #9)
&gt; Created an attachment (id=140636) [details]
&gt; Patch

I am not happy with this, but am unsure about how else to handle this.

I don&apos;t think it&apos;s correct to assume that !ScrollView::canBlitOnScroll() implies !FrameView::m_contentIsOpaque.  It&apos;s also very strange to me that drawsBackground is true for something that shouldn&apos;t draw a background.  That paint function is a pile of assumptions.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>629620</commentid>
    <comment_count>11</comment_count>
    <who name="Adrienne Walker">enne</who>
    <bug_when>2012-05-21 15:40:26 -0700</bug_when>
    <thetext>smfr: ping</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>636442</commentid>
    <comment_count>12</comment_count>
    <who name="Adrienne Walker">enne</who>
    <bug_when>2012-05-29 14:31:24 -0700</bug_when>
    <thetext>(In reply to comment #11)
&gt; smfr: ping

smfr: re-ping?

You asked me to fix this three weeks ago, so I uploaded a patch.  Was this something you wanted landed?  Otherwise, maybe this issue should just be WONTFIXed.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>636465</commentid>
    <comment_count>13</comment_count>
      <attachid>140636</attachid>
    <who name="Simon Fraser (smfr)">simon.fraser</who>
    <bug_when>2012-05-29 14:47:20 -0700</bug_when>
    <thetext>Comment on attachment 140636
Patch

Sorry for the delay.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>636494</commentid>
    <comment_count>14</comment_count>
      <attachid>140636</attachid>
    <who name="WebKit Review Bot">webkit.review.bot</who>
    <bug_when>2012-05-29 15:25:03 -0700</bug_when>
    <thetext>Comment on attachment 140636
Patch

Clearing flags on attachment: 140636

Committed r118840: &lt;http://trac.webkit.org/changeset/118840&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>636495</commentid>
    <comment_count>15</comment_count>
    <who name="WebKit Review Bot">webkit.review.bot</who>
    <bug_when>2012-05-29 15:25:08 -0700</bug_when>
    <thetext>All reviewed patches have been landed.  Closing bug.</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>140636</attachid>
            <date>2012-05-07 17:42:04 -0700</date>
            <delta_ts>2012-05-29 15:25:03 -0700</delta_ts>
            <desc>Patch</desc>
            <filename>bug-76478-20120507174203.patch</filename>
            <type>text/plain</type>
            <size>1627</size>
            <attacher name="Adrienne Walker">enne</attacher>
            
              <data encoding="base64">U3VidmVyc2lvbiBSZXZpc2lvbjogMTE2MTkxCmRpZmYgLS1naXQgYS9Tb3VyY2UvV2ViQ29yZS9D
aGFuZ2VMb2cgYi9Tb3VyY2UvV2ViQ29yZS9DaGFuZ2VMb2cKaW5kZXggZTRmNTRmMDU1YTU4OTU0
YWM2MTg4ZDNkYWJhNmIzYzliMzdlZTc4Ny4uMjY0MzQ0N2VhMTc2ZjFhYjI3ZDQwNjdlOGFhY2Mx
YzM3MmRjNWE1MCAxMDA2NDQKLS0tIGEvU291cmNlL1dlYkNvcmUvQ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