content/base/src/nsRuleNode.cpp - Revision 1.11

There were 1 changes made.
Legend
   Added lines
   Changed lines
   Removed lines

content/base/src/nsRuleNode.cpp,1.11
.
Disk File
Skipping to line 1464. 
    // means its rule won't have any information to add, so skip it.
.
    // means its rule won't have any information to add, so skip it.
    // XXXldb I don't understand why we need to check |detail| here, but
.
    // XXXldb I don't understand why we need to check |detail| here, but
    // we do.
.
    // we do.
    if (detail == eRuleNone)
.
    if (detail == eRuleNone)
      while (ruleNode->mInheritBits & bit) {
.
      while (ruleNode->mInheritBits & bit) {
        NS_ASSERTION(ruleNode->mStyleData.GetStyleData(aSID) == nsnull,
.
        //NS_ASSERTION(ruleNode->mStyleData.GetStyleData(aSID) == nsnull,
                     "inherit bit with cached data makes no sense");
.
        //             "inherit bit with cached data makes no sense");
        // Climb up to the next rule in the tree (a less specific rule).
.
        // Climb up to the next rule in the tree (a less specific rule).
        rootNode = ruleNode;
.
        rootNode = ruleNode;
        ruleNode = ruleNode->mParent;
.
        ruleNode = ruleNode->mParent;
        NS_ASSERTION(!(ruleNode->mNoneBits & bit), "can't have both bits set")
;
.
        NS_ASSERTION(!(ruleNode->mNoneBits & bit), "can't have both bits set")
;
      }
.
      }