<?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>203412</bug_id>
          
          <creation_ts>2019-10-25 07:38:57 -0700</creation_ts>
          <short_desc>[GTK][WPE] Cover area for sticky elements is not updated when async scrolling is enabled (default behavior)</short_desc>
          <delta_ts>2021-01-13 01:40:56 -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>New Bugs</component>
          <version>WebKit Nightly Build</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>219776</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>
          <dependson>202449</dependson>
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Pablo Saavedra">psaavedra</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>clord</cc>
    
    <cc>zan</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1583801</commentid>
    <comment_count>0</comment_count>
    <who name="Pablo Saavedra">psaavedra</who>
    <bug_when>2019-10-25 07:38:57 -0700</bug_when>
    <thetext>Scrolling inside of the sticky elements with fixed position is still not working fine for all the situations. For example: https://people.igalia.com/psaavedra/scroll.html.

In this example, the scroll inside the `div` element  is consistent but when you does a scroll in the body element it seems the fixed position element doesn&apos;t manage the offset correctly resulting in a displacement in the opposite direction of the scrolling action

The same doesn&apos;t happens disabling the async scrolling:

```
export WEBKIT_DISABLE_ASYNC_SCROLLING=OFF
```

Related to: https://bugs.webkit.org/show_bug.cgi?id=202449</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1586906</commentid>
    <comment_count>1</comment_count>
    <who name="Pablo Saavedra">psaavedra</who>
    <bug_when>2019-11-04 01:06:46 -0800</bug_when>
    <thetext>The issue is much more likely to the drawn area for the sticky scrollable element not being extended as we reaching the end of the initial cover area for the generated tiles for this layer resulting in a blank rendered page as we are doing scrolling down over it.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1587341</commentid>
    <comment_count>2</comment_count>
    <who name="Pablo Saavedra">psaavedra</who>
    <bug_when>2019-11-05 01:36:17 -0800</bug_when>
    <thetext>There are another thing that it worth to mention here. The scrolling for the overflow scrollable element only works when the body element is not scrolled (position 0,0).</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1713883</commentid>
    <comment_count>3</comment_count>
    <who name="Chris Lord">clord</who>
    <bug_when>2020-12-11 04:51:38 -0800</bug_when>
    <thetext>I expect the bug would have been initially &apos;fixed&apos; by bug 218974 and then hopefully will stay fixed after bug 219776. I&apos;ll look now and if it isn&apos;t, endeavour to fix it.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1713896</commentid>
    <comment_count>4</comment_count>
    <who name="Chris Lord">clord</who>
    <bug_when>2020-12-11 07:04:10 -0800</bug_when>
    <thetext>Can confirm this works fine with bug 219776 applied.

*** This bug has been marked as a duplicate of bug 219776 ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1719229</commentid>
    <comment_count>5</comment_count>
    <who name="Pablo Saavedra">psaavedra</who>
    <bug_when>2021-01-13 01:40:56 -0800</bug_when>
    <thetext>(In reply to Chris Lord from comment #4)
&gt; Can confirm this works fine with bug 219776 applied.
&gt; 
&gt; *** This bug has been marked as a duplicate of bug 219776 ***

Nice!. Thanks for take care about this. Really cool to have this working in WPE at last.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>