The Wall Street Journal recently reported that Biden's budget appears to assume that the capital gains tax increased on April 28, 2021. The article states that whether this is true depends on whether Congress agrees.

I'm somewhat confused by why this is legal (even if Congress agrees). What's the legal basis for this not being an ex post facto law?

Changed status to publish