I've found some 400V 0805 resistors. However, as in my previous question, I noted that almost no power supplies used surface mount components.
One of the things I'm working on is a capacitive power supply. This is connected to the mains and has no isolation, but operates inside a completely sealed box so there is no hazard to the user there. However, I'm not entirely sure if it's okay to use 0805's when dealing with such high voltages... it just seems like arc-over or something similar would happen. And, say there was a fault - would through hole be better at handling a line transient than SMT?