make node the first argument of getPadding/getMargin