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

Unified Diff: third_party/WebKit/Source/core/layout/LayoutFullScreen.cpp

Issue 2047283002: Avoid touching z-index in StyleAdjuster by using an isStackingContext flag instead (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Update old z-index stacking context test Created 4 years, 6 months 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
Index: third_party/WebKit/Source/core/layout/LayoutFullScreen.cpp
diff --git a/third_party/WebKit/Source/core/layout/LayoutFullScreen.cpp b/third_party/WebKit/Source/core/layout/LayoutFullScreen.cpp
index 760c11e5a279ac2aa688dadf426a2688aaf08fcf..62809a6fca47b80556bb37ef8b5df837a45c26ed 100644
--- a/third_party/WebKit/Source/core/layout/LayoutFullScreen.cpp
+++ b/third_party/WebKit/Source/core/layout/LayoutFullScreen.cpp
@@ -98,6 +98,7 @@ void LayoutFullScreen::updateStyle()
// Create a stacking context:
fullscreenStyle->setZIndex(INT_MAX);
+ fullscreenStyle->updateIsStackingContext(false, false);
rune 2016/06/09 09:10:25 Multiple bools like this hurts readability.
alancutter (OOO until 2018) 2016/06/10 04:59:30 Replaced with enums though it looks a bit ugly.
fullscreenStyle->setFontDescription(FontDescription());
fullscreenStyle->font().update(nullptr);

Powered by Google App Engine
This is Rietveld 408576698