China's parliament approved a decision on Thursday to go forward with national security legislation for Hong Kong that democracy activists in the city and Western countries fear could endanger its special autonomy and freedoms.