The law was prepared last fall , when cross-strait relations were viewed as precarious and Mr. Chen 's party , which China long viewed as a hardened advocate of independence , appeared set to take control of Taiwan 's legislature from the Nationalists , who favor calmer relations with the mainland .