diff --git a/layout/generic/nsIFrame.h b/layout/generic/nsIFrame.h index 67d6468d805d..69dfa27ed196 100644 --- a/layout/generic/nsIFrame.h +++ b/layout/generic/nsIFrame.h @@ -3312,9 +3312,9 @@ class nsIFrame : public nsQueryFrame { /** * Whether this frame hides its contents via the `content-visibility` - * property, while doing layout. This might be true when `HidesContent()` is - * true in the case that hidden content is being forced to lay out by position - * or size queries from script. + * property, while doing layout. This might return false when `HidesContent()` + * returns true in the case that hidden content is being forced to lay out + * by position or size queries from script. */ bool HidesContentForLayout() const;