|| IsPercentageUnitSides(&pos->mOffset)) {
|| nsLineLayout::IsPercentageUnitSides(&pos->mOffset)) {
IsPercentageAwareChild(const nsIFrame* aFrame){  const nsStyleSpacing* space;  nsresult rv = aFrame->GetStyleData(eStyleStruct_Spacing,(const nsStyleStruct*&) space);  if (NS_FAILED(rv)) {    return PR_TRUE; // just to be on the safe side  }  if (IsPercentageUnitSides(&space->mMargin)    || IsPercentageUnitSides(&space->mPadding)    || IsPercentageUnitSides(&space->mBorderRadius)) {    return PR_TRUE;  }  const nsStylePosition* pos;  rv = aFrame->GetStyleData(eStyleStruct_Position,(const nsStyleStruct*&) pos);  if (NS_FAILED(rv)) {    return PR_TRUE; // just to be on the safe side  }  if (eStyleUnit_Percent == pos->mWidth.GetUnit()    || eStyleUnit_Percent == pos->mMaxWidth.GetUnit()    || eStyleUnit_Percent == pos->mMinWidth.GetUnit()    || eStyleUnit_Percent == pos->mHeight.GetUnit()    || eStyleUnit_Percent == pos->mMinHeight.GetUnit()    || eStyleUnit_Percent == pos->mMaxHeight.GetUnit()    || IsPercentageUnitSides(&pos->mOffset)) { // XXX need more here!!!    return PR_TRUE;  }  return PR_FALSE;}