A visit by Pelosi, who is second in the line of succession to the U.S. presidency and a long-time critic of China, would come amid worsening ties between Washington and Beijing. Republican Newt Gingrich was the last House speaker to visit Taiwan, in 1997.