New legislation in California would create a bill of rights for cats and dogs