Let $u \in H^1(\Omega)$ on a bounded smooth domain $\Omega$. Is it true that if $u \geq 0$ a.e., then $Tu \geq 0$ a.e. on $\partial\Omega$ where $T$ is the trace?
I don't think it is, since $u$ can be negative on the null set $\partial\Omega$. So I suppose the question, under what minimal assumption is it true? Is there something weaker than continuity?