<?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>146662</bug_id>
          
          <creation_ts>2015-07-06 17:17:51 -0700</creation_ts>
          <short_desc>Page scrolls to the top if text is selected inside the &lt;iframe&gt; in the attached test case</short_desc>
          <delta_ts>2016-01-16 18:04:32 -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>528+ (Nightly build)</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>147431</dup_id>
          
          <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="Said Abou-Hallawa">sabouhallawa</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>simon.fraser</cc>
    
    <cc>webkit-bug-importer</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1107289</commentid>
    <comment_count>0</comment_count>
      <attachid>256259</attachid>
    <who name="Said Abou-Hallawa">sabouhallawa</who>
    <bug_when>2015-07-06 17:17:51 -0700</bug_when>
    <thetext>Created attachment 256259
test case

1. Open the attached test case.
2. Resize the window to be shorter than the height of the page
3. Scroll to the &lt;iframe&gt; at the end of the page.
4. Select any text in the HTML tab of the &lt;iframe&gt;

Result: The page scrolls to the top so there is no way for the user to select a range of text from the &lt;iframe&gt;.

Notes:
1. The test case is narrowed down from https://css-tricks.com/guide-svg-animations-smil/
2. https://bugs.webkit.org/show_bug.cgi?id=138089 is similar to this one. But scrolling to top with selection only happens when there is horizontal scrolling.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1107295</commentid>
    <comment_count>1</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2015-07-06 17:24:24 -0700</bug_when>
    <thetext>&lt;rdar://problem/21695796&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1156244</commentid>
    <comment_count>2</comment_count>
    <who name="Simon Fraser (smfr)">simon.fraser</who>
    <bug_when>2016-01-16 18:04:32 -0800</bug_when>
    <thetext>

*** This bug has been marked as a duplicate of bug 147431 ***</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="0"
              isprivate="0"
          >
            <attachid>256259</attachid>
            <date>2015-07-06 17:17:51 -0700</date>
            <delta_ts>2015-07-06 17:17:51 -0700</delta_ts>
            <desc>test case</desc>
            <filename>test141.html</filename>
            <type>text/html</type>
            <size>706</size>
            <attacher name="Said Abou-Hallawa">sabouhallawa</attacher>
            
              <data encoding="base64">PGJyPgo8YnI+Cjxicj4KPGJyPgo8YnI+Cjxicj4KPGJyPgo8YnI+Cjxicj4KPGJyPgo8YnI+Cjxi
cj4KPGJyPgo8YnI+Cjxicj4KPGJyPgo8YnI+Cjxicj4KPGJyPgo8YnI+Cjxicj4KPGJyPgo8YnI+
Cjxicj4KPGJyPgo8YnI+Cjxicj4KPGJyPgo8YnI+Cjxicj4KPGJyPgo8YnI+Cjxicj4KPGJyPgo8
YnI+Cjxicj4KPGJyPgo8YnI+Cjxicj4KPGJyPgo8YnI+Cjxicj4KPGJyPgo8YnI+Cjxicj4KPGJy
Pgo8YnI+Cjxicj4KPGJyPgo8YnI+Cjxicj4KPGJyPgo8YnI+Cjxicj4KPGRpdj48aWZyYW1lIGlk
PSJjcF9lbWJlZF9lODgzMjY1ODQ5MTQ3YTBhNGI3MTJjNTk2MGM0NDhhOCIgc3JjPSJodHRwczov
L2NvZGVwZW4uaW8vU2FyYVNvdWVpZGFuL2VtYmVkL2U4ODMyNjU4NDkxNDdhMGE0YjcxMmM1OTYw
YzQ0OGE4P2hlaWdodD0yMDAmYW1wO3RoZW1lLWlkPTEmYW1wO3NsdWctaGFzaD1lODgzMjY1ODQ5
MTQ3YTBhNGI3MTJjNTk2MGM0NDhhOCZhbXA7ZGVmYXVsdC10YWI9cmVzdWx0JmFtcDt1c2VyPVNh
cmFTb3VlaWRhbiIgc2Nyb2xsaW5nPSJubyIgZnJhbWVib3JkZXI9IjAiIGhlaWdodD0iMjAwIiBh
bGxvd3RyYW5zcGFyZW5jeT0idHJ1ZSIgYWxsb3dmdWxsc2NyZWVuPSJ0cnVlIiBjbGFzcz0iY3Bf
ZW1iZWRfaWZyYW1lIHVuZGVmaW5lZCIgc3R5bGU9IndpZHRoOiAxMDAlOyBvdmVyZmxvdzogaGlk
ZGVuOyI+PC9pZnJhbWU+PC9kaXY+Cg==
</data>

          </attachment>
      

    </bug>

</bugzilla>