Priority/Progressively Collapsing Pattern
You would do this when you want to avoid a lot of work with tweaking font sizes at certain breakpoints to make everything demanded by users fit without wrapping.
I guess that's why Google Sites uses this pattern as a default for their navigation.
This duplicates the behavior of the Sites approach in that we collapse the entire menu down on portrait mobile – turn your phone sideways to see the effect if visiting on mobile.