nsIFrame* frame = nsnull; aBox->GetFrame(&frame); return frame->GetStyleVisibility()->mDirection;
return aBox->GetStyleVisibility()->mDirection;
GetFrameDirection(nsIBox* aBox){   nsIFrame* frame = nsnull;   aBox->GetFrame(&frame);   return frame->GetStyleVisibility()->mDirection;}