nsStyleContext::nsStyleContext(nsIStyleContext* aParent,
nsStyleContext::nsStyleContext(nsStyleContext* aParent,
nsStyleContext::nsStyleContext(nsIStyleContext* aParent,                               nsIAtom* aPseudoTag,                               nsRuleNode* aRuleNode,                               nsIPresContext* aPresContext)  : mParent((nsStyleContext*)aParent),    mChild(nsnull),    mEmptyChild(nsnull),    mPseudoTag(aPseudoTag),    mRuleNode(aRuleNode),    mBits(0){  NS_INIT_ISUPPORTS();    mNextSibling = this;  mPrevSibling = this;  if (mParent) {    NS_ADDREF(mParent);    mParent->AppendChild(this);  }  ApplyStyleFixups(aPresContext);  NS_ASSERTION(NS_STYLE_INHERIT_MASK &               (1 << PRInt32(nsStyleStructID_Length - 1)) != 0,               "NS_STYLE_INHERIT_MASK must be bigger, and other bits shifted");}