I comment further in connection with Angeline’s additional questions.
While it might seem logical to have a rebasing of the cost of assets to market value as at the date when UK residence started, there is no rule to this effect under UK capital gains tax.
Instead, when an asset is sold during a period of residence, the gain is computed on general principles. The gain is therefore the disposal value less the acquisition cost.
Acquisition cost is the cost of the asset in sterling terms, using exchange rates prevailing at that time.
Equally, if an individual later ceases to be a UK resident, there is no charge to capital gains tax at that point. In other words, there is no deemed disposal at market value when residence ceases. So there is a symmetry to the UK rules.