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

Issue 1843723002: Spurious scrollbars should not be drawn when overflow is applied to a frame. (Closed)

Created:
4 years, 8 months ago by jbroman
Modified:
4 years, 8 months ago
CC:
darktears, apavlov+blink_chromium.org, blink-reviews, blink-reviews-css, blink-reviews-style_chromium.org, chromium-reviews, dglazkov+blink, rwlbuis
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Spurious scrollbars should not be drawn when overflow is applied to a frame. It doesn't really make sense to get overflow scrollbars for an iframe (the real scrollbars are drawn within the frame, and the frame itself cannot overflow in any useful way). Rather than address this in the legacy compositing code, this makes the style system prevent this nonsensical state from ever occurring, by adjusting the overflow property to visible for all frame elements. This matches the existing behavior of the non-composited path here: no scrollbars are drawn in response to the 'overflow' property on a frame. BUG=384154 TEST=LayoutTests/scrollbars/iframe-overflow-scroll-ignored.html Committed: https://crrev.com/55de872c090f19fb64fb5e865a86c97334a4f0f0 Cr-Commit-Position: refs/heads/master@{#383855}

Patch Set 1 #

Total comments: 1

Patch Set 2 : early-return #

Unified diffs Side-by-side diffs Delta from patch set Stats (+13 lines, -0 lines) Patch
A third_party/WebKit/LayoutTests/scrollbars/iframe-overflow-scroll-ignored.html View 1 chunk +3 lines, -0 lines 0 comments Download
A third_party/WebKit/LayoutTests/scrollbars/iframe-overflow-scroll-ignored-expected.html View 1 chunk +2 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/css/resolver/StyleAdjuster.cpp View 1 1 chunk +8 lines, -0 lines 0 comments Download

Messages

Total messages: 12 (6 generated)
jbroman
This way the rest of our engine won't have to deal with this state, and ...
4 years, 8 months ago (2016-03-29 17:47:26 UTC) #2
leviw_travelin_and_unemployed
StyleAdjuster is such a sad dumping ground :-/ I think this is fine. One nit. ...
4 years, 8 months ago (2016-03-29 18:40:42 UTC) #5
jbroman
It's a bit odd, but I think the stage is reasonably simple and understandable. Maybe ...
4 years, 8 months ago (2016-03-29 18:43:46 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1843723002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1843723002/20001
4 years, 8 months ago (2016-03-29 18:44:19 UTC) #9
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 8 months ago (2016-03-29 23:03:23 UTC) #10
commit-bot: I haz the power
4 years, 8 months ago (2016-03-29 23:04:25 UTC) #12
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/55de872c090f19fb64fb5e865a86c97334a4f0f0
Cr-Commit-Position: refs/heads/master@{#383855}

Powered by Google App Engine
This is Rietveld 408576698