The legal challenges to DOMA, a federal law, pose different issues than the ongoing conflict over California's Proposition 8, which tests the broader question of whether states can outlaw same-sex marriage altogether. But with both cases barreling toward the Supreme Court, legal experts say they are likely to shape the law around gay marriage within the next few years.