nsTableFrame::GetPadding(const nsHTMLReflowState& aReflowState, const nsTableCellFrame*  aCellFrame)
nsTableFrame::GetPadding(const nsSize&           aBasis, const nsTableCellFrame* aCellFrame)
nsTableFrame::GetPadding(const nsHTMLReflowState& aReflowState,                         const nsTableCellFrame*  aCellFrame){  const nsStyleSpacing* spacing;  aCellFrame->GetStyleData(eStyleStruct_Spacing,(const nsStyleStruct *&)spacing);  nsMargin padding(0,0,0,0);  if (!spacing->GetPadding(padding)) {    const nsHTMLReflowState* parentRS = aReflowState.parentReflowState;    while (parentRS) {      if (parentRS->frame) {        nsCOMPtr<nsIAtom> frameType;        parentRS->frame->GetFrameType(getter_AddRefs(frameType));        if (nsLayoutAtoms::tableFrame == frameType.get()) {          nsSize basis(parentRS->mComputedWidth, parentRS->mComputedHeight);          GetPaddingFor(basis, *spacing, padding);          break;        }      }      parentRS = parentRS->parentReflowState;    }  }  return padding;}