[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 Review-Url: https://codereview.chromium.org/2571893003 Cr-Original-Commit-Position: refs/heads/master@{#438533} Cr-Commit-Position: refs/heads/master@{#438616}
Showing
Please register or sign in to comment