<?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>72945</bug_id>
          
          <creation_ts>2011-11-22 05:37:47 -0800</creation_ts>
          <short_desc>Background image attachment changed to fixed in JS shows repaint errors</short_desc>
          <delta_ts>2012-03-22 23:03:43 -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>CSS</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>Mac (Intel)</rep_platform>
          <op_sys>OS X 10.6</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>78300</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="Ned Baldessin">ned</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>davidbarr</cc>
    
    <cc>mitz</cc>
    
    <cc>shanestephens</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>507541</commentid>
    <comment_count>0</comment_count>
      <attachid>116211</attachid>
    <who name="Ned Baldessin">ned</who>
    <bug_when>2011-11-22 05:37:47 -0800</bug_when>
    <thetext>Created attachment 116211
Reduced demo of the bug

See reduced demo attached.

Steps to Reproduce:
- create div with background-image: scroll
- in JS, set backgroundAttachment: fixed on the element
- when you scroll, the display of the element is garbled or not updated.

Additional Information:
- This bug does not appear when the page is displayed inside an iframe.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>507553</commentid>
    <comment_count>1</comment_count>
    <who name="Ned Baldessin">ned</who>
    <bug_when>2011-11-22 06:11:42 -0800</bug_when>
    <thetext>Additional Information (after spending 2 days on this):
- setting overflow:hidden or overflow:auto on the element fixes the bug. -sigh-</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>586094</commentid>
    <comment_count>2</comment_count>
    <who name="David Barr">davidbarr</who>
    <bug_when>2012-03-22 23:03:43 -0700</bug_when>
    <thetext>This has been fixed in trunk, bisecting gives the range:
http://trac.webkit.org/log/trunk/?rev=107355&amp;stop_rev=107276

In particular, most likely fixed by:
http://trac.webkit.org/changeset/107335/trunk

Marking as duplicate of WK78300.

*** This bug has been marked as a duplicate of bug 78300 ***</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="0"
              isprivate="0"
          >
            <attachid>116211</attachid>
            <date>2011-11-22 05:37:47 -0800</date>
            <delta_ts>2011-11-22 05:37:47 -0800</delta_ts>
            <desc>Reduced demo of the bug</desc>
            <filename>webkit_repaint_bug_2.html</filename>
            <type>text/html</type>
            <size>1340</size>
            <attacher name="Ned Baldessin">ned</attacher>
            
              <data encoding="base64">PCFET0NUWVBFIGh0bWw+CjxodG1sPgogICAgPGhlYWQ+CiAgICAgICAgPG1ldGEgY2hhcnNldD0i
dXRmLTgiPgogICAgICAgIDx0aXRsZT5URVNUPC90aXRsZT4KICAgICAgICA8c3R5bGU+CiAgICAg
ICAgICAgICN0YXJnZXQgewogICAgICAgICAgICAgICAgd2lkdGg6IDM0N3B4OwogICAgICAgICAg
ICAgICAgaGVpZ2h0OiAyMjVweDsKICAgICAgICAgICAgICAgIGJhY2tncm91bmQtaW1hZ2U6IHVy
bChodHRwOi8vZGV2LmJhbGRlc3Npbi5mci8yMDExL2doZXR0b19iZXRvbi5qcGcpOwogICAgICAg
ICAgICAgICAgYmFja2dyb3VuZC1hdHRhY2htZW50OiBzY3JvbGw7CiAgICAgICAgICAgICAgICBi
YWNrZ3JvdW5kLXBvc2l0aW9uOiB0b3AgbGVmd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ICAgIDxi
cj48YnI+PGJyPjxicj48YnI+PGJyPjxicj48YnI+CiAgICAgICAgICAgIDxicj48YnI+PGJyPjxi
cj48YnI+PGJyPjxicj48YnI+CiAgICAgICAgICAgIDxicj48YnI+PGJyPjxicj48YnI+PGJyPjxi
cj48YnI+CiAgICAgICAgPC9kaXY+CjwvaHRtbD4=
</data>

          </attachment>
      

    </bug>

</bugzilla>