Still discrimination though. Some percentage of people are attracted to kids, even if they never act on it. But then you can be gay all your life and never act on it, and that's enough to get executed in some countries today so. So even if you never act on it you better not admit it.
Sexism off limits, racism off limits, homosexuality will become off limits at some point, but people still need something to hate.