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

Unified Diff: third_party/WebKit/Source/core/dom/Element.cpp

Issue 1823143002: Ensure fullscreen.css loaded for ancestor invalidation (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Re-ordered iframe and script in test Created 4 years, 9 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/dom/Element.cpp
diff --git a/third_party/WebKit/Source/core/dom/Element.cpp b/third_party/WebKit/Source/core/dom/Element.cpp
index 1f569c793a2e287e59b9fe6d72cd1eda9f4ea84e..6523dac47b4d641b4552b341d50e41fc7b81a1bc 100644
--- a/third_party/WebKit/Source/core/dom/Element.cpp
+++ b/third_party/WebKit/Source/core/dom/Element.cpp
@@ -3028,6 +3028,7 @@ void Element::setFloatingPointAttribute(const QualifiedName& attributeName, doub
void Element::setContainsFullScreenElement(bool flag)
{
setElementFlag(ContainsFullScreenElement, flag);
+ document().styleEngine().ensureFullscreenUAStyle();
pseudoStateChanged(CSSSelector::PseudoFullScreenAncestor);
}

Powered by Google App Engine
This is Rietveld 408576698