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

Unified Diff: third_party/WebKit/Source/core/css/SelectorChecker.cpp

Issue 2557943002: Sync requestFullscreen() and exitFullscreen() algorithms with the spec (Closed)
Patch Set: rebase 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
Index: third_party/WebKit/Source/core/css/SelectorChecker.cpp
diff --git a/third_party/WebKit/Source/core/css/SelectorChecker.cpp b/third_party/WebKit/Source/core/css/SelectorChecker.cpp
index adbdbc8dfa97cf42508c9ddcf315c30f7ee64eb8..46f8fe4caa0773e7a2654a22940e9f84fdde509b 100644
--- a/third_party/WebKit/Source/core/css/SelectorChecker.cpp
+++ b/third_party/WebKit/Source/core/css/SelectorChecker.cpp
@@ -1010,7 +1010,7 @@ bool SelectorChecker::checkPseudoClass(const SelectorCheckingContext& context,
if (isHTMLFrameElementBase(element) &&
element.containsFullScreenElement())
return true;
- return Fullscreen::isCurrentFullScreenElement(element);
+ return Fullscreen::isFullscreenElement(element);
case CSSSelector::PseudoFullScreenAncestor:
return element.containsFullScreenElement();
case CSSSelector::PseudoInRange:
« no previous file with comments | « third_party/WebKit/Source/core/css/CSSDefaultStyleSheets.cpp ('k') | third_party/WebKit/Source/core/dom/DocumentFullscreen.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698