<?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>78943</bug_id>
          
          <creation_ts>2012-02-17 16:20:32 -0800</creation_ts>
          <short_desc>Avoid compositing empty elements</short_desc>
          <delta_ts>2012-03-14 14:32:46 -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>DUPLICATE</resolution>
          <dup_id>63499</dup_id>
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Xianzhu Wang">wangxianzhu</reporter>
          <assigned_to name="Xianzhu Wang">wangxianzhu</assigned_to>
          <cc>enne</cc>
    
    <cc>jamesr</cc>
    
    <cc>klobag</cc>
    
    <cc>simon.fraser</cc>
    
    <cc>vangelis</cc>
    
    <cc>wiltzius</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>559632</commentid>
    <comment_count>0</comment_count>
    <who name="Xianzhu Wang">wangxianzhu</who>
    <bug_when>2012-02-17 16:20:32 -0800</bug_when>
    <thetext>Google+ has a zero-height fixed-position element beneath the main content.
we enable compositing for fixed-position elements, which means lots of content divs
overlap it and are also composited.  -- husky@chromium.org</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>563278</commentid>
    <comment_count>1</comment_count>
    <who name="Xianzhu Wang">wangxianzhu</who>
    <bug_when>2012-02-23 11:15:45 -0800</bug_when>
    <thetext>Just verified that the patch of bug 78186 also fixed this bug, because an empty rect doesn&apos;t intersect any other rect.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>563601</commentid>
    <comment_count>2</comment_count>
    <who name="Xianzhu Wang">wangxianzhu</who>
    <bug_when>2012-02-23 15:59:46 -0800</bug_when>
    <thetext>Sorry my previous verification was not complete. Bug 78186 can prevents empty fixed position element that is at the bottom layer from being composited (and in turn may prevent elements over it from being composited).

If an empty element is over another composited element, it may still be composited because the intersect condition change in bug 34065. Would it be better to fix issue of cliprect cache instead of changing the overlap checking for bug 34065 that will cause unnecessary compositing layers?

We also tried to disable cliprect cache, and didn&apos;t see visible performance change.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>578782</commentid>
    <comment_count>3</comment_count>
    <who name="Xianzhu Wang">wangxianzhu</who>
    <bug_when>2012-03-14 14:32:46 -0700</bug_when>
    <thetext>

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

    </bug>

</bugzilla>