Investors & landlords

Actually, I take that back.  Your citation says "would have been treated as ordinary income".  Although the depreciation of a rental property has the same tax rate as ordinary income (up to 25%), it is still Capital Gain.