His comments came as China 's national legislature prepared to consider a measure that would likely mandate a military response if Taiwan , which is governed independently , formally seceded from mainland China .