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

Issue 2571893003: Set overflow: auto in StyleResolver::styleForDocument. (Closed)

Created:
4 years ago by skobes
Modified:
4 years ago
Reviewers:
bokan, szager1
CC:
chromium-reviews, blink-reviews-style_chromium.org, blink-reviews-css, dglazkov+blink, apavlov+blink_chromium.org, darktears, blink-reviews, kinuko+watch, rwlbuis
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

[Reland] Set overflow: auto in StyleResolver::styleForDocument. Without this, the call to setStyle in Document::updateStyle would temporarily mark the LayoutView as overflow: visible. With root layer scrolling this causes PaintLayerScrollableArea to remove the scrollbars. This change has no effect on the document's final overflow style, which comes from inheritHtmlAndBodyElementStyles (and is never "visible" regardless of RLS). This relands r438533 which was reverted in r438537. BUG=672335 Committed: https://crrev.com/0cc860d2c6075b9afb96f566a370f62972a758e0 Committed: https://crrev.com/b8ad7cfdc0f044af7f16598b5cbc4170a7783e61 Cr-Original-Commit-Position: refs/heads/master@{#438533} Cr-Commit-Position: refs/heads/master@{#438616}

Patch Set 1 #

Patch Set 2 : rebase #

Patch Set 3 : resolve merge conflict with r438458 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+60 lines, -0 lines) Patch
M third_party/WebKit/Source/core/css/resolver/StyleResolver.cpp View 1 2 1 chunk +6 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/web/BUILD.gn View 1 chunk +1 line, -0 lines 0 comments Download
A third_party/WebKit/Source/web/tests/ScrollbarsTest.cpp View 1 chunk +47 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/web/tests/sim/SimTest.h View 2 chunks +2 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/web/tests/sim/SimTest.cpp View 1 chunk +4 lines, -0 lines 0 comments Download

Messages

Total messages: 37 (20 generated)
skobes
4 years ago (2016-12-14 04:33:01 UTC) #9
bokan
lgtm For my own benefit, why do the scrollbars flicker? If it removes and adds ...
4 years ago (2016-12-14 13:40:44 UTC) #10
skobes
On 2016/12/14 13:40:44, bokan wrote: > lgtm > > For my own benefit, why do ...
4 years ago (2016-12-14 16:47:53 UTC) #11
bokan
On 2016/12/14 16:47:53, skobes wrote: > On 2016/12/14 13:40:44, bokan wrote: > > lgtm > ...
4 years ago (2016-12-14 16:49:45 UTC) #12
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/2571893003/1
4 years ago (2016-12-14 16:52:47 UTC) #14
commit-bot: I haz the power
Committed patchset #1 (id:1)
4 years ago (2016-12-14 16:57:55 UTC) #17
commit-bot: I haz the power
Patchset 1 (id:??) landed as https://crrev.com/0cc860d2c6075b9afb96f566a370f62972a758e0 Cr-Commit-Position: refs/heads/master@{#438533}
4 years ago (2016-12-14 17:00:25 UTC) #19
paulmeyer
A revert of this CL (patchset #1 id:1) has been created in https://codereview.chromium.org/2570293003/ by paulmeyer@chromium.org. ...
4 years ago (2016-12-14 17:12:27 UTC) #20
findit-for-me
FYI: Findit identified this CL at revision 438533 as the culprit for failures in the ...
4 years ago (2016-12-14 17:14:32 UTC) #21
Theresa
A revert of this CL (patchset #1 id:1) has been created in https://codereview.chromium.org/2562333005/ by twellington@chromium.org. ...
4 years ago (2016-12-14 17:16:59 UTC) #22
skobes
Patchset #1 collided with http://crrev.com/2569013006, which renamed the EOverflow values. Relanding.
4 years ago (2016-12-14 19:00:21 UTC) #26
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/2571893003/60001
4 years ago (2016-12-14 19:01:31 UTC) #29
szager1
On 2016/12/14 16:47:53, skobes wrote: > On 2016/12/14 13:40:44, bokan wrote: > > lgtm > ...
4 years ago (2016-12-14 19:30:10 UTC) #30
skobes
On 2016/12/14 19:30:10, szager1 wrote: > That's the question that stopped me cold when reviewing ...
4 years ago (2016-12-14 19:58:04 UTC) #31
szager1
Thanks, lgtm
4 years ago (2016-12-14 20:01:36 UTC) #32
commit-bot: I haz the power
Committed patchset #3 (id:60001)
4 years ago (2016-12-14 20:49:08 UTC) #35
commit-bot: I haz the power
4 years ago (2016-12-14 20:53:48 UTC) #37
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/b8ad7cfdc0f044af7f16598b5cbc4170a7783e61
Cr-Commit-Position: refs/heads/master@{#438616}

Powered by Google App Engine
This is Rietveld 408576698