Oh okay, I see. It is wild to see how much things change because amongst my generation your analogy makes sense, but at the time prop 8 was passed by a majority of Californians.
That's how these things go, sadly.
As an example, Loving v Virginia, the Supreme Court case that struck down all anti-miscegenation laws, was in 1967. In 1968, a Gallup poll indicated that less that 20% of white Americans "approved of marriage between whites and non-whites."
Three decades later, in 2000, Alabama finally voted to repeal its (inactive) law, and a full 40% of voters voted to keep the racist, useless law in their state constitution.
Eich was appointed Mozilla CEO in 2014. Not 2008. 2014 polls said 60% to 70% of Californians supported same sex marriage. Most California voters would not qualify for most jobs in any case. And Eich's 2008 discrimination support mattered less than his 2014 inability to say he wouldn't do it again.