<?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>230395</bug_id>
          
          <creation_ts>2021-09-17 02:01:08 -0700</creation_ts>
          <short_desc>Elements with position: sticky have spaces above it</short_desc>
          <delta_ts>2021-10-04 00:54:34 -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>Safari 14</version>
          <rep_platform>iPhone / iPad</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>NEW</bug_status>
          <resolution></resolution>
          
          
          <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>kovalev.mine</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>mrobinson</cc>
    
    <cc>simon.fraser</cc>
    
    <cc>webkit-bug-importer</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1794376</commentid>
    <comment_count>0</comment_count>
    <who name="">kovalev.mine</who>
    <bug_when>2021-09-17 02:01:08 -0700</bug_when>
    <thetext>Elements with position: sticky jump while scrolling and create space above itself.
We have a crutch for it, we set margin-top: -1px, padding-top: 1px, top: (needed top - 1px). It works, but in some cases like that https://bugs.webkit.org/show_bug.cgi?id=230390, we can&apos;t fix it.
Also it makes some problems with borders
Use link to see https://jsfiddle.net/taspqxLr/14/</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1796830</commentid>
    <comment_count>1</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2021-09-24 02:02:20 -0700</bug_when>
    <thetext>&lt;rdar://problem/83486118&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1798861</commentid>
    <comment_count>2</comment_count>
    <who name="Martin Robinson">mrobinson</who>
    <bug_when>2021-09-30 07:27:59 -0700</bug_when>
    <thetext>I am not seeing this bug in the simulator, but it&apos;s possible that it still is an issue on devices. Are you able to capture a video to show the problem that you are seeing? It&apos;s a bit difficult to understand what jumping and creating space means here.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1799162</commentid>
    <comment_count>3</comment_count>
    <who name="">kovalev.mine</who>
    <bug_when>2021-09-30 21:27:07 -0700</bug_when>
    <thetext>You can see the problem even in simulator, the reason you are not seeing bug is our crutch, where we add padding-top: 1px; margin-top: -1px; and top: (top we need - 1px); You can try this link https://jsfiddle.net/tnkfg2d8/2/
Video: https://radikal.ru/video/3Oiyf4Zpdbj</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1799984</commentid>
    <comment_count>4</comment_count>
    <who name="Martin Robinson">mrobinson</who>
    <bug_when>2021-10-04 00:54:34 -0700</bug_when>
    <thetext>Thanks for sending the video. Looking at the interface, it looks like you are seeing this issue in the Chrome web browser running the equivalent of &quot;responsive design mode&quot; in Safari. Can you also reproduce it in Safari 15? I am able to see the problem of the flickering line in Chrome, but I don&apos;t see it in Safari. It&apos;s possible that you need to report this bug in the Chromium bug tracker since Safari and Chrome have completely different codebases now:

https://bugs.chromium.org/p/chromium/issues/list</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>