Pennsylvania would align with federal tax law by allowing income received by a resident or nonresident trust from in-state sources to be taxable to the grantor of the trust under a bill passed by state lawmakers and headed to Democratic Gov. Josh Shapiro.