Sales tax is a state-by-state thing so I would assume the ruling is for California.
Here in Pennsylvania where I am located sales tax depends on the kind of item (necessities are not taxable but everything else generally is). Popcorn and soda are taxable at all times. Coffee, tea and water are not taxable (they fall under the category of "necessities"). Juice and drinks like Gattoraide depend on the amount of juice content - 10% or less juice then it is taxable; more than 10% juice content ("real juice") then it is not taxable and becomes a "necessity". Candy here used to be taxable but in 1999 the powerful Hershey candy company lobby convinced the state legislature it was too much trouble to have vending machine companies remit sales tax on candy (yet the same vending companies still have to remit sales tax on soda!) and Hershey got all candy exempted from the sales tax (it is not a necessity but its own exempt category).
Because Pennsylvania is such a mish-mash of what is and what is not subject to sales tax, the regulations of the Pennsylvania Department of Revenue specifically require that all sales receipts seperately enumerate the taxable and non taxable items and then add the sales tax charged on the taxable items as a seperate line item at the end of the receipt. These regulations specifically prohibit advertising or posting (or collecting) any prices such as "2.50 sales tax included".
Since Pennsylvania is 6% sales tax it means I have to have a lot of pennies for change.