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

Unified Diff: third_party/WebKit/Source/core/css/resolver/StyleResolver.cpp

Issue 2570293003: Revert of Set overflow: auto in StyleResolver::styleForDocument. (Closed)
Patch Set: Created 4 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | third_party/WebKit/Source/web/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/core/css/resolver/StyleResolver.cpp
diff --git a/third_party/WebKit/Source/core/css/resolver/StyleResolver.cpp b/third_party/WebKit/Source/core/css/resolver/StyleResolver.cpp
index 0017b8c275480b0502faf20ef7479b5d15b3a300..77476654eb6539630a8f07256cb0ae05ba2ed03b 100644
--- a/third_party/WebKit/Source/core/css/resolver/StyleResolver.cpp
+++ b/third_party/WebKit/Source/core/css/resolver/StyleResolver.cpp
@@ -620,12 +620,6 @@
// ComputedStyle in Document::inheritHtmlAndBodyElementStyles.
documentStyle->setDisplay(EDisplay::Block);
documentStyle->setPosition(AbsolutePosition);
-
- // Document::inheritHtmlAndBodyElementStyles will set the final overflow
- // style values, but they should initially be auto to avoid premature
- // scrollbar removal in PaintLayerScrollableArea::updateAfterStyleChange.
- documentStyle->setOverflowX(OverflowAuto);
- documentStyle->setOverflowY(OverflowAuto);
document.setupFontBuilder(*documentStyle);
« no previous file with comments | « no previous file | third_party/WebKit/Source/web/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698