Bug 146662 - Page scrolls to the top if text is selected inside the <iframe> in the attached test case
Summary: Page scrolls to the top if text is selected inside the <iframe> in the attach...
Status: RESOLVED DUPLICATE of bug 147431
Alias: None
Product: WebKit
Classification: Unclassified
Component: New Bugs (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2015-07-06 17:17 PDT by Said Abou-Hallawa
Modified: 2016-01-16 18:04 PST (History)
2 users (show)

See Also:


Attachments
test case (706 bytes, text/html)
2015-07-06 17:17 PDT, Said Abou-Hallawa
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Said Abou-Hallawa 2015-07-06 17:17:51 PDT
Created attachment 256259 [details]
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 <iframe> at the end of the page.
4. Select any text in the HTML tab of the <iframe>

Result: The page scrolls to the top so there is no way for the user to select a range of text from the <iframe>.

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.
Comment 1 Radar WebKit Bug Importer 2015-07-06 17:24:24 PDT
<rdar://problem/21695796>
Comment 2 Simon Fraser (smfr) 2016-01-16 18:04:32 PST

*** This bug has been marked as a duplicate of bug 147431 ***