make isUndefined public, add CSS_POSITION_COUNT back