Bug 109419

Summary: Scroll glitch on the page with # after iframe document open close
Product: WebKit Reporter: dtyschenko <dtyschenko>
Component: Layout and RenderingAssignee: Nobody <webkit-unassigned>
Status: RESOLVED FIXED    
Severity: Minor CC: ap, bdakin, simon.fraser, thorton
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: PC   
OS: All   
URL: https://bug-109419-attachments.webkit.org/attachment.cgi?id=187549#
Attachments:
Description Flags
proof, add # at the end none

Description dtyschenko@gmail.com 2013-02-11 05:00:59 PST
Quite strange issue. If page:
 * url ends with #
 * contains iframe with position: fixed style
 * iframe content was filled with iframe.contentDocument.open and close

the scroll will glitch at the bottom of the page. Chromium 24 here.
Comment 1 dtyschenko@gmail.com 2013-02-11 05:01:43 PST
Created attachment 187549 [details]
proof, add # at the end
Comment 2 dtyschenko@gmail.com 2013-02-11 05:02:37 PST
after you've opened an attachement, push CTRL+R.
Comment 3 dtyschenko@gmail.com 2013-02-11 07:03:18 PST
reproduced in Canary 26.01
Comment 4 Alexey Proskuryakov 2013-02-14 13:36:47 PST
That's quite an effect!

Affects Safari 6.0.3 and current build too.
Comment 5 dtyschenko@gmail.com 2013-07-08 05:41:40 PDT
Isn't reproduced anymore in Chrome 27.
Comment 6 Alexey Proskuryakov 2013-07-08 10:35:08 PDT
Chrome has branched WebKit. This is still reproducible with mainline WebKit (tested current build with Safari on Mac).
Comment 7 dtyschenko@gmail.com 2015-01-19 00:53:20 PST
In Safari 8 the page is still scrolled to the bottom, but scroll isn't locked there.
Comment 8 dtyschenko@gmail.com 2017-05-11 07:50:31 PDT
It's working fine in Safari 10.1