Hoping to prod fast food chains to offer children healthier meals, San Francisco is proposing to ban toys from meals that contain too much fat, sugar or salt, The San Francisco Chronicle reports.

San Francisco’s proposed law would apply to all of the city’s restaurants, but is particularly aimed at chains such as McDonald’s, Jack in the Box and Burger King.

Nearby Santa Clara County this year adopted a similar law–the nation’s first–but the restriction applies only in unincorporated areas, covering relatively few restaurants.

San Francisco’s restrictions would allow restaurants to include toys only with meals that meet very specific nutritional rules. For example, no single item in a meal could contain more than 200 calories or 480 milligrams of sodium. An entire meal could have no more than 600 calories. The Chronicle said those rules would wipe out all but a handful of the Happy Meal offerings at McDonald’s – and none of those options include a small hamburger.

San Francisco Supervisor Eric Mar, chief sponsor of the legislation, promotes it as a way to improve public health. But Daniel Conway, director of public affairs for the California Restaurant Association, counters that San Francisco “seems to have an insatiable appetite for punishing the restaurant industry,” and that the propose will lead to “widespread ridicule.”

In Santa Clara, where the new rules went into effect Monday, officials said they have received inquiries about the new restriction from Chicago, New York City and Orange County, Calif., along with San Francisco.