<?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>83190</bug_id>
          
          <creation_ts>2012-04-04 12:21:36 -0700</creation_ts>
          <short_desc>Shadows clipped on position:fixed composited layers</short_desc>
          <delta_ts>2012-04-20 11:58:29 -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>63331</dup_id>
          
          <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="Vangelis Kokkevis">vangelis</reporter>
          <assigned_to name="Dean Jackson">dino</assigned_to>
          <cc>enne</cc>
    
    <cc>jamesr</cc>
    
    <cc>jchaffraix</cc>
    
    <cc>simon.fraser</cc>
    
    <cc>webkit-bug-importer</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>595794</commentid>
    <comment_count>0</comment_count>
    <who name="Vangelis Kokkevis">vangelis</who>
    <bug_when>2012-04-04 12:21:36 -0700</bug_when>
    <thetext>This bug was originally reported in:
http://code.google.com/p/chromium/issues/detail?id=121102

Composited layers seem to clip out shadow region corresponding to a -webkit-box-shadow property. Steps to reproduce:

(WebKit in 10.7 with accelerated canvas or Chrome)

1. Open http://www.tsetmc.com/Loader.aspx?ParTree=151311&amp;i=23441366113375722
2. Click &apos;s&apos; to open the popup div with the box shadow 
3. Resize the main window until the popup overlaps the graph at the top left

At that point, the popup gets promoted to a composited layer and loses it shadow (and a chunk of its border). The composited layer borders reveal that the layer created is really too small.

An alternative way to trigger the bug on the same page is to simply add a -webkit-transform: translateZ(0) on the popup div&apos;s content.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>595825</commentid>
    <comment_count>1</comment_count>
    <who name="Simon Fraser (smfr)">simon.fraser</who>
    <bug_when>2012-04-04 13:04:03 -0700</bug_when>
    <thetext>When did this regress? r111456?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>595839</commentid>
    <comment_count>2</comment_count>
    <who name="Vangelis Kokkevis">vangelis</who>
    <bug_when>2012-04-04 13:15:33 -0700</bug_when>
    <thetext>(In reply to comment #1)
&gt; When did this regress? r111456?

I&apos;m not sure it&apos;s a regression, and if it is, it&apos;s probably not very recent. I see the same behavior in (official) Safari 5.1.3 (7534.53.10) .</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>597831</commentid>
    <comment_count>3</comment_count>
    <who name="Simon Fraser (smfr)">simon.fraser</who>
    <bug_when>2012-04-06 17:11:12 -0700</bug_when>
    <thetext>*** Bug 83381 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>597832</commentid>
    <comment_count>4</comment_count>
    <who name="Simon Fraser (smfr)">simon.fraser</who>
    <bug_when>2012-04-06 17:12:16 -0700</bug_when>
    <thetext>This needs to be looked soon.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>597833</commentid>
    <comment_count>5</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2012-04-06 17:12:37 -0700</bug_when>
    <thetext>&lt;rdar://problem/11204762&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>606421</commentid>
    <comment_count>6</comment_count>
      <attachid>138056</attachid>
    <who name="Dean Jackson">dino</who>
    <bug_when>2012-04-20 00:41:06 -0700</bug_when>
    <thetext>Created attachment 138056
Reduced test case

Here&apos;s a pretty simple reduction. Edit the marked point in the file to toggle the correct and incorrect results.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>606577</commentid>
    <comment_count>7</comment_count>
    <who name="Simon Fraser (smfr)">simon.fraser</who>
    <bug_when>2012-04-20 08:04:32 -0700</bug_when>
    <thetext>We&apos;re probably using the wrong clip rect for position:fixed things. Does it only repro with position:fixed?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>606647</commentid>
    <comment_count>8</comment_count>
      <attachid>138107</attachid>
    <who name="Dean Jackson">dino</who>
    <bug_when>2012-04-20 09:41:22 -0700</bug_when>
    <thetext>Created attachment 138107
Updated reduction</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>606652</commentid>
    <comment_count>9</comment_count>
    <who name="Simon Fraser (smfr)">simon.fraser</who>
    <bug_when>2012-04-20 09:52:06 -0700</bug_when>
    <thetext>I think this is a dup of bug 63331</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>606774</commentid>
    <comment_count>10</comment_count>
    <who name="Dean Jackson">dino</who>
    <bug_when>2012-04-20 11:58:29 -0700</bug_when>
    <thetext>

*** This bug has been marked as a duplicate of bug 63331 ***</thetext>
  </long_desc>
      
          <attachment
              isobsolete="1"
              ispatch="0"
              isprivate="0"
          >
            <attachid>138056</attachid>
            <date>2012-04-20 00:41:06 -0700</date>
            <delta_ts>2012-04-20 09:41:22 -0700</delta_ts>
            <desc>Reduced test case</desc>
            <filename>83190-reduction.html</filename>
            <type>text/html</type>
            <size>643</size>
            <attacher name="Dean Jackson">dino</attacher>
            
              <data encoding="base64">PHN0eWxlPgouc2hhcmVkIHsKICAvKiBjaGFuZ2UgdGhlc2UgdHdvIHZhbHVlcyB0byBzb21ldGhp
bmcgPiAxNTAgdG8gc2VlIGNvcnJlY3QgcmVzdWx0ICovCiAgdG9wOiA2MHB4OwogIGxlZnQ6IDYw
cHg7Cn0KCi5vdXRlciB7CiAgb3ZlcmZsb3c6IGF1dG87CiAgei1pbmRleDogMTsKICBwb3NpdGlv
bjogZml4ZWQ7CiAgd2lkdGg6IDMwMHB4OwogIGhlaWdodDogMTAwcHg7Cn0KCi5pbm5lciB7CiAg
YmFja2dyb3VuZC1jb2xvcjogd2hpdGU7CiAgYm9yZGVyOiAyMHB4IHNvbGlkIHJlZDsKICBwb3Np
dGlvbjogZml4ZWQ7CiAgd2lkdGg6IDQwMHB4OwogIGhlaWdodDogMzAwcHg7Cn0KCi5jb21wb3Np
dGUgewogIHBvc2l0aW9uOiBhYnNvbHV0ZTsKICB0b3A6IDEwcHg7CiAgbGVmdDogMTBweDsKICB3
aWR0aDogMTAwcHg7CiAgaGVpZ2h0OiAxMDBweDsKICBiYWNrZ3JvdW5kOiBibHVlOwogIC13ZWJr
aXQtdHJhbnNmb3JtOiB0cmFuc2xhdGVaKDApOwp9Cjwvc3R5bGU+CjxkaXYgY2xhc3M9ImNvbXBv
c2l0ZSI+PC9kaXY+Cgo8ZGl2IGNsYXNzPSJvdXRlciBzaGFyZWQiPgogIDxkaXYgY2xhc3M9Imlu
bmVyIHNoYXJlZCI+c2hvdWxkIHNlZSBhbGwgdGhlIHRleHQgYW5kIGZvdXIgc2lkZXMgb2YgYm9y
ZGVyPC9kaXY+CjwvZGl2Pg==
</data>

          </attachment>
          <attachment
              isobsolete="0"
              ispatch="0"
              isprivate="0"
          >
            <attachid>138107</attachid>
            <date>2012-04-20 09:41:22 -0700</date>
            <delta_ts>2012-04-20 09:41:22 -0700</delta_ts>
            <desc>Updated reduction</desc>
            <filename>83190-reduction.html</filename>
            <type>text/html</type>
            <size>705</size>
            <attacher name="Dean Jackson">dino</attacher>
            
              <data encoding="base64">PHN0eWxlPgouc2hhcmVkIHsKICAvKiBjaGFuZ2UgdGhlc2UgdHdvIHZhbHVlcyB0byBzb21ldGhp
bmcgPiAxNTAgdG8gc2VlIGNvcnJlY3QgcmVzdWx0ICovCiAgdG9wOiA2MHB4OwogIGxlZnQ6IDYw
cHg7Cn0KCi5vdXRlciB7CiAgb3ZlcmZsb3c6IGhpZGRlbjsKICB6LWluZGV4OiAxOwogIHBvc2l0
aW9uOiBmaXhlZDsKICB3aWR0aDogMzAwcHg7CiAgaGVpZ2h0OiAxMDBweDsKICBib3JkZXI6IDEw
cHggc29saWQgZ3JlZW47Cn0KCi5pbm5lciB7CiAgYmFja2dyb3VuZC1jb2xvcjogd2hpdGU7CiAg
Ym9yZGVyOiAxMHB4IHNvbGlkIHJlZDsKICBwb3NpdGlvbjogZml4ZWQ7CiAgd2lkdGg6IDQwMHB4
OwogIGhlaWdodDogMzAwcHg7CiAgdG9wOiAxMDBweDsKICBsZWZ0OiAxMDBweDsKfQoKLmNvbXBv
c2l0ZSB7CiAgcG9zaXRpb246IGFic29sdXRlOwogIHRvcDogMTBweDsKICBsZWZ0OiAxMHB4Owog
IHdpZHRoOiAxMDBweDsKICBoZWlnaHQ6IDEwMHB4OwogIGJhY2tncm91bmQ6ICNhYWFhZmY7CiAg
LXdlYmtpdC10cmFuc2Zvcm06IHRyYW5zbGF0ZVooMCk7Cn0KPC9zdHlsZT4KPGRpdiBjbGFzcz0i
Y29tcG9zaXRlIj48L2Rpdj4KCjxkaXYgY2xhc3M9Im91dGVyIHNoYXJlZCI+CiAgPGRpdiBjbGFz
cz0iaW5uZXIgc2hhcmVkIj5zaG91bGQgc2VlIGFsbCB0aGUgdGV4dCBhbmQgZm91ciBzaWRlcyBv
ZiBib3JkZXI8L2Rpdj4KPC9kaXY+
</data>

          </attachment>
      

    </bug>

</bugzilla>