Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(425)

Issue 2129033002: Update scrollbars from FrameView::show.

Created:
4 years, 5 months ago by szager1
Modified:
3 years, 4 months ago
Reviewers:
skobes
CC:
chromium-reviews, blink-reviews
Base URL:
https://chromium.googlesource.com/chromium/src@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Update scrollbars from FrameView::show. When an iframe is hidden, FrameView::dispose is called to detach the FrameView, which has the effect of destroying its scrollbars. When the iframe is re-shown, it needs to recreate its scrollbars. Note that this bug does not happen with root layer scrolling enabled. BUG=623280 R=skobes@chromium.org

Patch Set 1 #

Total comments: 2

Patch Set 2 : Don't dispose() FrameView when hidden #

Patch Set 3 : revert to patch set 1 #

Patch Set 4 : Set needsLayout() in FrameView::show() #

Unified diffs Side-by-side diffs Delta from patch set Stats (+29 lines, -0 lines) Patch
A third_party/WebKit/LayoutTests/fast/frames/iframe-hide-show-scrollbars.html View 1 chunk +20 lines, -0 lines 0 comments Download
A third_party/WebKit/LayoutTests/fast/frames/iframe-hide-show-scrollbars-expected.html View 1 chunk +8 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/frame/FrameView.cpp View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 13 (5 generated)
szager1
4 years, 5 months ago (2016-07-07 23:49:08 UTC) #1
skobes
Are you saying a FrameView is reused after calling dispose() on it? That seems crazy. ...
4 years, 5 months ago (2016-07-08 14:32:12 UTC) #2
szager1
On 2016/07/08 14:32:12, skobes wrote: > Are you saying a FrameView is reused after calling ...
4 years, 5 months ago (2016-07-08 20:31:45 UTC) #3
skobes
Patch Set 1 lgtm but can you file a bug to make HTMLFrameOwnerElement stop reusing ...
4 years, 5 months ago (2016-07-08 21:28:15 UTC) #4
szager1
On 2016/07/08 21:28:15, skobes wrote: > Patch Set 1 lgtm but can you file a ...
4 years, 5 months ago (2016-07-08 21:53:25 UTC) #5
szager1
https://codereview.chromium.org/2129033002/diff/1/third_party/WebKit/LayoutTests/fast/frames/iframe-hide-show-scrollbars.html File third_party/WebKit/LayoutTests/fast/frames/iframe-hide-show-scrollbars.html (right): https://codereview.chromium.org/2129033002/diff/1/third_party/WebKit/LayoutTests/fast/frames/iframe-hide-show-scrollbars.html#newcode8 third_party/WebKit/LayoutTests/fast/frames/iframe-hide-show-scrollbars.html:8: <iframe srcdoc="<style>body{margin:0px}</style>bananas bananas bananas bananas bananas bananas bananas bananas ...
4 years, 5 months ago (2016-07-08 21:53:30 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2129033002/40001
4 years, 5 months ago (2016-07-08 21:55:22 UTC) #9
commit-bot: I haz the power
4 years, 5 months ago (2016-07-08 23:13:46 UTC) #11
Try jobs failed on following builders:
  linux_chromium_rel_ng on master.tryserver.chromium.linux (JOB_FAILED,
http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_...)

Powered by Google App Engine
This is Rietveld 408576698