<?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>196754</bug_id>
          
          <creation_ts>2019-04-09 17:15:56 -0700</creation_ts>
          <short_desc>Hit-testing is wrong when you hit a position:-webkit-sticky inside a non-stacking overflow</short_desc>
          <delta_ts>2019-05-16 15:25:15 -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>Scrolling</component>
          <version>WebKit Nightly Build</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>CONFIGURATION CHANGED</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 name="Simon Fraser (smfr)">simon.fraser</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>koivisto</cc>
    
    <cc>simon.fraser</cc>
    
    <cc>webkit-bug-importer</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1525820</commentid>
    <comment_count>0</comment_count>
      <attachid>367088</attachid>
    <who name="Simon Fraser (smfr)">simon.fraser</who>
    <bug_when>2019-04-09 17:15:56 -0700</bug_when>
    <thetext>Created attachment 367088
Testcase

You can&apos;t scroll when you hit the blue box in the attached test case</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1525821</commentid>
    <comment_count>1</comment_count>
    <who name="Simon Fraser (smfr)">simon.fraser</who>
    <bug_when>2019-04-09 17:16:17 -0700</bug_when>
    <thetext>Needs similar treatment as we do for positioned nodes.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1525822</commentid>
    <comment_count>2</comment_count>
    <who name="Simon Fraser (smfr)">simon.fraser</who>
    <bug_when>2019-04-09 17:16:34 -0700</bug_when>
    <thetext>May need the same thing for position:fixed?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1525823</commentid>
    <comment_count>3</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2019-04-09 17:16:48 -0700</bug_when>
    <thetext>&lt;rdar://problem/49757271&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1525824</commentid>
    <comment_count>4</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2019-04-09 17:16:51 -0700</bug_when>
    <thetext>&lt;rdar://problem/49757268&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1525892</commentid>
    <comment_count>5</comment_count>
    <who name="Antti Koivisto">koivisto</who>
    <bug_when>2019-04-10 00:39:12 -0700</bug_when>
    <thetext>Is this another case of missing positioned nodes in scrolling tree?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1525965</commentid>
    <comment_count>6</comment_count>
    <who name="Simon Fraser (smfr)">simon.fraser</who>
    <bug_when>2019-04-10 09:22:30 -0700</bug_when>
    <thetext>No, the sticky node already acts as the &apos;positioning&apos; node, so we need to have some similar logic for sticky that we have for positioned nodes.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1534983</commentid>
    <comment_count>7</comment_count>
    <who name="Antti Koivisto">koivisto</who>
    <bug_when>2019-05-10 06:38:11 -0700</bug_when>
    <thetext>Scrolling via the blue box works fine, it just flickers horribly.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1536931</commentid>
    <comment_count>8</comment_count>
    <who name="Antti Koivisto">koivisto</who>
    <bug_when>2019-05-16 15:25:15 -0700</bug_when>
    <thetext>Flickering is covered elsewhere so I think this can be closed.</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="0"
              isprivate="0"
          >
            <attachid>367088</attachid>
            <date>2019-04-09 17:15:56 -0700</date>
            <delta_ts>2019-04-09 17:15:56 -0700</delta_ts>
            <desc>Testcase</desc>
            <filename>sticky-in-non-stacking-context-overflow.html</filename>
            <type>text/html</type>
            <size>1790</size>
            <attacher name="Simon Fraser (smfr)">simon.fraser</attacher>
            
              <data encoding="base64">PCFET0NUWVBFIGh0bWw+IDwhLS0gd2Via2l0LXRlc3QtcnVubmVyIFsgdXNlRmxleGlibGVWaWV3
cG9ydD10cnVlIGludGVybmFsOkFzeW5jT3ZlcmZsb3dTY3JvbGxpbmdFbmFibGVkPXRydWUgXSAt
LT4KPGh0bWw+CjxoZWFkPgogICAgPG1ldGEgbmFtZT0idmlld3BvcnQiIGNvbnRlbnQ9ImluaXRp
YWwtc2NhbGU9MS4wIj4KICAgIDxzdHlsZT4KICAgICAgICAjc2Nyb2xsZXIgewogICAgICAgICAg
ICBtYXJnaW46IDEwcHg7CiAgICAgICAgICAgIGhlaWdodDogMzAwcHg7CiAgICAgICAgICAgIHdp
ZHRoOiAzMDBweDsKICAgICAgICAgICAgYm9yZGVyOiAxcHggc29saWQgYmxhY2s7CiAgICAgICAg
ICAgIG92ZXJmbG93OiBzY3JvbGw7CiAgICAgICAgfQogICAgICAgIAogICAgICAgIC5jb250YWlu
ZXIgewogICAgICAgICAgICBwb3NpdGlvbjogcmVsYXRpdmU7CiAgICAgICAgICAgIGhlaWdodDog
NTAwcHg7CiAgICAgICAgICAgIGJvcmRlcjogMTJweCBzb2xpZCBncmF5OwogICAgICAgIH0KICAg
ICAgICAKICAgICAgICAuc3RpY2t5IHsKICAgICAgICAgICAgcG9zaXRpb246IC13ZWJraXQtc3Rp
Y2t5OwogICAgICAgICAgICB0b3A6IDA7CiAgICAgICAgICAgIHdpZHRoOiAyMDBweDsKICAgICAg
ICAgICAgaGVpZ2h0OiAyMDBweDsKICAgICA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pZnlEb25lKCk7CiAgICAgICAgICAgIH0pOwogICAgICAgIH0KICAgICAgICAKICAgICAgICB3
aW5kb3cuYWRkRXZlbnRMaXN0ZW5lcignbG9hZCcsIGRvVGVzdCwgZmFsc2UpOwogICAgPC9zY3Jp
cHQ+CjwvaGVhZD4KPGJvZHk+CiAgICA8ZGl2IGlkPSJzY3JvbGxlciI+CiAgICAgICAgPGRpdiBj
bGFzcz0iY29udGFpbmVyIj4KICAgICAgICAgICAgPGRpdiBjbGFzcz0ic3RpY2t5Ij48L2Rpdj4K
ICAgICAgICA8L2Rpdj4KICAgICAgICA8ZGl2IGNsYXNzPSJjb250YWluZXIiPjwvZGl2PgogICAg
PC9kaXY+CjwvYm9keT4KPC9odG1sPgo=
</data>

          </attachment>
      

    </bug>

</bugzilla>