<?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>87023</bug_id>
          
          <creation_ts>2012-05-21 08:43:04 -0700</creation_ts>
          <short_desc>REGRESSION (r109837-109926): Issue displaying position:fixed elements in a scrolling page</short_desc>
          <delta_ts>2013-01-05 11:24:14 -0800</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.7</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>WORKSFORME</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>InRadar, Regression</keywords>
          <priority>P1</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Jonathan Zuckerman">j.zuckerman</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>andersca</cc>
    
    <cc>ap</cc>
    
    <cc>enne</cc>
    
    <cc>jaeccles</cc>
    
    <cc>simon.fraser</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>629128</commentid>
    <comment_count>0</comment_count>
    <who name="Jonathan Zuckerman">j.zuckerman</who>
    <bug_when>2012-05-21 08:43:04 -0700</bug_when>
    <thetext>After scrolling the page it takes a few moments and sometimes a hover event for the browser to paint a fixed element in its correct location.  When I scroll back up the page all the &quot;old&quot; positions of the fixed element relative to the document are still there..

I am not able to provide a link because the page I noticed the issue on is an internal CMS gated by a password, but here is a video showing the issue:

http://youtu.be/8GtxF_4znzs

If getting access to the page would help you debug the issue please let me know, I can see about getting a testing site set up.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>629279</commentid>
    <comment_count>1</comment_count>
    <who name="Alexey Proskuryakov">ap</who>
    <bug_when>2012-05-21 11:06:25 -0700</bug_when>
    <thetext>Thank you for the report. Yes, a test page would be very helpful.

It is very surprising if position:fixed behaves this way. Are you seeing this with shipping Safari 5.1.x, or only in nightlies?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>629283</commentid>
    <comment_count>2</comment_count>
    <who name="Jonathan Zuckerman">j.zuckerman</who>
    <bug_when>2012-05-21 11:09:37 -0700</bug_when>
    <thetext>Only in the WebKit nightly, I just tested it in Safari 5.1.7 (7534.57.2) and do not observe the issue.  I will see about getting a page for you to test.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>629340</commentid>
    <comment_count>3</comment_count>
    <who name="Anders Carlsson">andersca</who>
    <bug_when>2012-05-21 11:55:30 -0700</bug_when>
    <thetext>I wonder if this is the same bug as https://bugs.webkit.org/show_bug.cgi?id=86934

Jonathan, can you try a nightly from today and see if the bug is still there?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>629374</commentid>
    <comment_count>4</comment_count>
    <who name="Jonathan Zuckerman">j.zuckerman</who>
    <bug_when>2012-05-21 12:19:37 -0700</bug_when>
    <thetext>Just tested with r117796 and the issue still exists</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>629487</commentid>
    <comment_count>5</comment_count>
    <who name="Jonathan Zuckerman">j.zuckerman</who>
    <bug_when>2012-05-21 14:20:25 -0700</bug_when>
    <thetext>I actually just found another example of what I believe may be the same issue, which does not have to do with position:fixed.
I created a css style for a radio input that is checked, so when you select one option, all the other options get deselected, and therefore need that style removed.  But, in WebKit nightly it doesn&apos;t update the other radio buttons by removing the :checked style until you hover over them, is it possible that there&apos;s some repaint/reflow optimization that is over-zealously not repainting things?

The same issue does not occur in the current stable release of Safari.


Steps to reproduce:

1. load this URI in WebKit nightly (I am using r117796):
   http://dev.brokendisk.com/jon-and-jenny/rsvp/webkit-issue?secret=repaint
2. click the unchecked radio input
3. observe that the now-checked radio button does not display the proper styles until you hover away from it.
4. observe also that the now-UNchecked radio button does not have the style removed until it is hovered over.


This is the CSS rule, incidentally:

.guest input[type=&quot;radio&quot;]:checked + span.option {
    font-weight: 700;
}</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>630542</commentid>
    <comment_count>6</comment_count>
    <who name="Alexey Proskuryakov">ap</who>
    <bug_when>2012-05-22 10:54:33 -0700</bug_when>
    <thetext>Thank you! Simon and myself looked at this test, and it&apos;s not obvious to us that this is the same issue as the one on the video. I filed bug 87146 about the new issue, we can always dupe it back later if we decide that it&apos;s the same thing.

Could you bisect with WebKit nightlies to find out when exactly the issue on the internal site started?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>630545</commentid>
    <comment_count>7</comment_count>
    <who name="Alexey Proskuryakov">ap</who>
    <bug_when>2012-05-22 10:56:24 -0700</bug_when>
    <thetext>&lt;rdar://problem/11506601&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>630737</commentid>
    <comment_count>8</comment_count>
    <who name="Jonathan Zuckerman">j.zuckerman</who>
    <bug_when>2012-05-22 14:10:45 -0700</bug_when>
    <thetext>Here is a testing URL: http://sandbox4.thismoment.com/cms/pagemaker?page_id=9

You can log in with the password &quot;webkittest&quot;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>644666</commentid>
    <comment_count>9</comment_count>
    <who name="Jonathan Zuckerman">j.zuckerman</who>
    <bug_when>2012-06-08 07:50:06 -0700</bug_when>
    <thetext>I saw your request about bisecting with nightlies but I&apos;m not sure how to do that.. I saw this page but it only goes back so far: 

http://nightly.webkit.org/builds/trunk/mac/1

Do you want me to just try each successively older build until I can find one where the issue no longer manifests?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>644889</commentid>
    <comment_count>10</comment_count>
    <who name="Alexey Proskuryakov">ap</who>
    <bug_when>2012-06-08 11:36:43 -0700</bug_when>
    <thetext>Sorry, I overlooked your comment where you provided a test page. Bisected it myself, unfortunately it&apos;s a long range: &lt;http://trac.webkit.org/log/trunk/?rev=109926&amp;stop_rev=109837&gt;. Simon, does anything stand out to you?

&gt; I saw this page but it only goes back so far: 

There are links to older ranges at the bottom of the page, so it goes back pretty far (most of historic builds are so old that they don&apos;t work with Safari 5.1.x at all).

&gt; Do you want me to just try each successively older build until I can find one where the issue no longer manifests?

The idea is to try older builds, and there is a more efficient way to do this. If you can find a revision that shows the bug and one that doesn&apos;t, you can then try one in the middle, and immediately cut the range in half.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>644976</commentid>
    <comment_count>11</comment_count>
    <who name="Simon Fraser (smfr)">simon.fraser</who>
    <bug_when>2012-06-08 13:18:08 -0700</bug_when>
    <thetext>I would guess either
http://trac.webkit.org/changeset/109867/
or more likely
http://trac.webkit.org/changeset/109851/

See also bug 88129 and bug 64201.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>685508</commentid>
    <comment_count>12</comment_count>
    <who name="Jonathan Zuckerman">j.zuckerman</who>
    <bug_when>2012-08-02 09:52:18 -0700</bug_when>
    <thetext>Bump, issue is still present in 537+

I just checked the testing environment and it&apos;s still available with the password previously mentioned.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>688406</commentid>
    <comment_count>13</comment_count>
    <who name="Jonathan Zuckerman">j.zuckerman</who>
    <bug_when>2012-08-06 13:52:51 -0700</bug_when>
    <thetext>The current version of Safari now demonstrates this issue - Version 6.0 (7536.25)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>800720</commentid>
    <comment_count>14</comment_count>
    <who name="Simon Fraser (smfr)">simon.fraser</who>
    <bug_when>2013-01-04 16:22:00 -0800</bug_when>
    <thetext>(In reply to comment #12)
&gt; Bump, issue is still present in 537+
&gt; 
&gt; I just checked the testing environment and it&apos;s still available with the password previously mentioned.

And what email address?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>800723</commentid>
    <comment_count>15</comment_count>
    <who name="Simon Fraser (smfr)">simon.fraser</who>
    <bug_when>2013-01-04 16:23:39 -0800</bug_when>
    <thetext>Please could you also test a WebKit nightly build. We&apos;ve changed how position:fixed works quite a bit.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>800920</commentid>
    <comment_count>16</comment_count>
    <who name="Jonathan Zuckerman">j.zuckerman</who>
    <bug_when>2013-01-05 07:47:58 -0800</bug_when>
    <thetext>Ah - our authentication methods have changed since we created this bug - I&apos;ll see about getting you a login for this environment now.

For what it&apos;s worth the issue is not present in nightly Version 6.0.2 (8536.26.17, 537+)

(stoked!)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>800938</commentid>
    <comment_count>17</comment_count>
    <who name="Simon Fraser (smfr)">simon.fraser</who>
    <bug_when>2013-01-05 11:24:14 -0800</bug_when>
    <thetext>Good to know.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>