<?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>213647</bug_id>
          
          <creation_ts>2020-06-26 08:40:42 -0700</creation_ts>
          <short_desc>highlight of text in iframe is visible when the text is scrolled out of the visible area</short_desc>
          <delta_ts>2020-06-26 09:35:17 -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>Other</version>
          <rep_platform>iPhone / iPad</rep_platform>
          <op_sys>Other</op_sys>
          <bug_status>NEW</bug_status>
          <resolution></resolution>
          
          <see_also>https://bugs.webkit.org/show_bug.cgi?id=184297</see_also>
          <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="Frédéric Wang Nélar">fred.wang</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>simon.fraser</cc>
    
    <cc>thorton</cc>
    
    <cc>wenson_hsieh</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1666460</commentid>
    <comment_count>0</comment_count>
      <attachid>402868</attachid>
    <who name="Frédéric Wang Nélar">fred.wang</who>
    <bug_when>2020-06-26 08:40:42 -0700</bug_when>
    <thetext>Created attachment 402868
testcase

Open the testcase in iOS and use the find-in-page feature to look for a match for &quot;text&quot;. Then scroll the iframe.

In the past, the highlight was not moved at all (bug 184297).

In iOS 14 beta, the highlighted text is moved but it still visible when it goes outside the visible are of the iframe.</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="0"
              isprivate="0"
          >
            <attachid>402868</attachid>
            <date>2020-06-26 08:40:42 -0700</date>
            <delta_ts>2020-06-26 08:40:42 -0700</delta_ts>
            <desc>testcase</desc>
            <filename>find-text-in-subframe.html</filename>
            <type>text/html</type>
            <size>492</size>
            <attacher name="Frédéric Wang Nélar">fred.wang</attacher>
            
              <data encoding="base64">PCFET0NUWVBFIGh0bWw+CjxodG1sPgogIDxoZWFkPgogICAgPG1ldGEgbmFtZT0idmlld3BvcnQi
IGNvbnRlbnQ9IndpZHRoPWRldmljZS13aWR0aCI+CiAgPC9oZWFkPgogIDxib2R5PgogICAgPHA+
VXNlICJGaW5kIGluIHBhZ2UiIHRvIHNlYXJjaCAidGV4dCI6PC9wPgogICAgPGlmcmFtZSBzdHls
ZT0iaGVpZ2h0OiAxMDBweDsiIHNjcm9sbGluZz0ieWVzIiBzcmNkb2M9Ijxib2R5IHN0eWxlPSdt
YXJnaW46IDAnPnRleHQgdGV4dCZsdDtkaXYgc3R5bGU9J2hlaWdodDogMTAwMHB4OyBiYWNrZ3Jv
dW5kOiBsaW5lYXItZ3JhZGllbnQoMTgwZGVnLCByZWQsIGJsdWUpOycmZ3Q7Jmx0Oy9kaXYmZ3Q7
dGV4dCB0ZXh0Jmx0O2RpdiBzdHlsZT0naGVpZ2h0OiAxMDAwcHg7IGJhY2tncm91bmQ6IGxpbmVh
ci1ncmFkaWVudCgxODBkZWcsIHJlZCwgYmx1ZSk7JyZndDsmbHQ7L2RpdiZndDt0ZXh0IHRleHQ8
L2JvZHk+Ij48L2lmcmFtZT4KICA8L2JvZHk+CjwvaHRtbD4K
</data>

          </attachment>
      

    </bug>

</bugzilla>