It is strongly recommended that you consult an experienced Chinese solicitor prior to contemplating buying property. He or she will be able to give you up to date advice on the current and proposed legislation regarding ownership of property by foreigners.
If you sell your property in China, you will be exempted from Capital Gains Tax provided you have owned it for more than five years.