While you could argue that the Mozilla controversy was about Brendan Eich's privately held beliefs, he publicly donated $1,000 to Prop 8, which was how it came to be known.
Its possible to privarely donate to all kinds of organizations which amount to political causes, its not possible (legally) to do so to political campaign committees, however.