It does both. Black border alone marks the default button in the dialog (unless another button is focused), black border + dotted outline marks focus.
I double checked in a VM running Windows 98 earlier today. I suspect some of these 9x recreations are based solely on screenshots, in which details like active and focus states are not obvious.