[LFC] Add FormattingContext::computeWidth/computeHeight logic.