Under Bill Clinton, the capital gains tax was cut from 28% to 20% and tax revenue increased significantly.
In a 2008 debate between Obama and Hillary, the moderator cited that and asked Obama if he would maintain his policy to raise the capital gains tax, even if it meant less revenue.
Obama said, yes, he would raise that tax, if only in the interest of "fairness".