Index: Source/core/css/SelectorChecker.cpp |
diff --git a/Source/core/css/SelectorChecker.cpp b/Source/core/css/SelectorChecker.cpp |
index b470c0b3c2e670d91dcd92933e6e11c9a15f4fd7..d711fb9b52329d73c29794d06908c5ceb468f098 100644 |
--- a/Source/core/css/SelectorChecker.cpp |
+++ b/Source/core/css/SelectorChecker.cpp |
@@ -934,10 +934,6 @@ bool SelectorChecker::checkPseudoClass(const SelectorCheckingContext& context, M |
return Fullscreen::isActiveFullScreenElement(element); |
case CSSSelector::PseudoFullScreenAncestor: |
return element.containsFullScreenElement(); |
- case CSSSelector::PseudoFullScreenDocument: |
- // While a Document is in the fullscreen state, the 'full-screen-document' pseudoclass applies |
- // to all elements of that Document. |
- return Fullscreen::isFullScreen(element.document()); |
case CSSSelector::PseudoInRange: |
if (m_mode == ResolvingStyle) |
element.document().setContainsValidityStyleRules(); |