San Francisco: It's a happy moment for people who see the Happy Meal as anything but.

San Francisco has become the first major American city to prohibit fast-food restaurants from including toys with children's meals that do not meet nutritional guidelines.

The city's Board of Supervisors gave the measure final approval Tuesday on an 8-3 vote. That's enough votes to survive a planned veto by Mayor Gavin Newsom. The ordinance, which would go into effect in December of next year, prohibits toy giveaways in fast-food children's meals that have more than 640 milligrams of sodium.