diff --git a/layout/style/nsCSSPseudoClassList.h b/layout/style/nsCSSPseudoClassList.h index 61235f12ec46..6e7070691723 100644 --- a/layout/style/nsCSSPseudoClassList.h +++ b/layout/style/nsCSSPseudoClassList.h @@ -161,7 +161,10 @@ CSS_STATE_PSEUDO_CLASS(mozDevtoolsHighlighted, ":-moz-devtools-highlighted", 0, // Matches the element which is being displayed full-screen, and // any containing frames. -CSS_STATE_PSEUDO_CLASS(fullscreen, ":fullscreen", 0, "", NS_EVENT_STATE_FULL_SCREEN) +CSS_STATE_PSEUDO_CLASS(fullscreen, ":fullscreen", + CSS_PSEUDO_CLASS_ENABLED_IN_UA_SHEETS_AND_CHROME, + "full-screen-api.unprefix.enabled", + NS_EVENT_STATE_FULL_SCREEN) CSS_STATE_PSEUDO_CLASS(mozFullScreen, ":-moz-full-screen", 0, "", NS_EVENT_STATE_FULL_SCREEN) // Matches any element which is an ancestor of the DOM full-screen element,