<html>
    <head>
      <base href="https://bugs.webkit.org/" />
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - Page scrolls to the top if text is selected inside the &lt;iframe&gt; in the attached test case"
   href="https://bugs.webkit.org/show_bug.cgi?id=146662">146662</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>Page scrolls to the top if text is selected inside the &lt;iframe&gt; in the attached test case
          </td>
        </tr>

        <tr>
          <th>Classification</th>
          <td>Unclassified
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>WebKit
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>528+ (Nightly build)
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>Unspecified
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>Unspecified
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>NEW
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>Normal
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>P2
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>New Bugs
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>webkit-unassigned&#64;lists.webkit.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>sabouhallawa&#64;apple.com
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Created <span class=""><a href="attachment.cgi?id=256259" name="attach_256259" title="test case">attachment 256259</a> <a href="attachment.cgi?id=256259&amp;action=edit" title="test case">[details]</a></span>
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 <a href="https://css-tricks.com/guide-svg-animations-smil/">https://css-tricks.com/guide-svg-animations-smil/</a>
2. <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - REGRESSION: Selecting a text in an iframe scrolls the page"
   href="show_bug.cgi?id=138089">https://bugs.webkit.org/show_bug.cgi?id=138089</a> is similar to this one. But scrolling to top with selection only happens when there is horizontal scrolling.</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>