Index: Source/core/css/SelectorChecker.cpp |
diff --git a/Source/core/css/SelectorChecker.cpp b/Source/core/css/SelectorChecker.cpp |
index c6e5f46eba9d06c503786e076d7f3c0d0e4f9f35..d108a2212a19d65c3c00954beb3308920912cb3c 100644 |
--- a/Source/core/css/SelectorChecker.cpp |
+++ b/Source/core/css/SelectorChecker.cpp |
@@ -837,7 +837,7 @@ bool SelectorChecker::checkOne(const SelectorCheckingContext& context, const Sib |
// element is an element in the document, the 'full-screen' pseudoclass applies to |
// that element. Also, an <iframe>, <object> or <embed> element whose child browsing |
// context's Document is in the fullscreen state has the 'full-screen' pseudoclass applied. |
- if (element.isFrameElementBase() && element.containsFullScreenElement()) |
+ if (isHTMLFrameElementBase(element) && element.containsFullScreenElement()) |
return true; |
if (FullscreenElementStack* fullscreen = FullscreenElementStack::fromIfExists(element.document())) { |
if (!fullscreen->webkitIsFullScreen()) |