Do colleges know if we're in the top 10% of our class even if my school doesn't rank?

Twice in this thread, posters have said that most schools do not rank. Is this really true? I had never heard of a school not ranking before joining CC. Maybe this is regional, or a public vs private school difference. I can see where it makes sense that a private school or a public magnet school where everyone is high achieving doesn’t have ranks. But the vast majority of kids go to standard public schools. Have they also stopped ranking?