Bug 109419 - Scroll glitch on the page with # after iframe document open close
Summary: Scroll glitch on the page with # after iframe document open close
Alias: None
Product: WebKit
Classification: Unclassified
Component: Layout and Rendering (show other bugs)
Version: 528+ (Nightly build)
Hardware: PC All
: P2 Minor
Assignee: Nobody
URL: https://bug-109419-attachments.webkit...
Depends on:
Reported: 2013-02-11 05:00 PST by dtyschenko@gmail.com
Modified: 2017-05-11 07:50 PDT (History)
4 users (show)

See Also:

proof, add # at the end (389 bytes, text/html)
2013-02-11 05:01 PST, dtyschenko@gmail.com
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
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