Back to index

lightning-sunbird  0.9+nobinonly
nsGenConList.cpp File Reference
#include "nsGenConList.h"
#include "nsLayoutUtils.h"

Go to the source code of this file.


PRBool PseudoCompareType (nsIFrame *aFrame)

Function Documentation

PRBool PseudoCompareType ( nsIFrame aFrame) [inline]

Definition at line 97 of file nsGenConList.cpp.

  nsIAtom *pseudo = aFrame->GetStyleContext()->GetPseudoType();
  if (pseudo == nsCSSPseudoElements::before)
    return -1;
  if (pseudo == nsCSSPseudoElements::after)
    return 1;
  return 0;

Here is the call graph for this function:

Here is the caller graph for this function: