For carbon steerers, I thought it was preferred to let the steerer protrude above the stem and a narrow spacer be put on top to allow the cap to pull needed amount slack out of the bearings, or pre-load if you prefer.
For steel steerers I've read it's okay if the stem is above the top of the hole for the upper pinch bolt, but below the top of the stem by whatever is needed to take out the slack.