No, the idea of being forced to give up something one genuinely possesses is of order of magnitude greater existential threat to what is left than being forced to not seize what one does not actually possess.
So the US being forced to give up Texas and China being forced not to take Taiwan are totally different in terms of how much threat acquiescence poses to what each side has remaining. Therefore the rational willingness of each side to risk what is left to hold the line would be dramatically different.
Its really just boils down to hard power. Native Americans should have been much less willing to give up their land than the English settlers were to take that land. And at one point in time Texas belonged to Mexico but as I recall Santa Anna was forced at gunpoint to cede the state and all the way to California to the US...
Of course in the nuclear age the entire calculation changes... Soon the dynamic will be such that China will also have the capability to effectively end the world (and certainly end the US) much like US can do the same in return....
So if the US really thinks China will just let them take TW and use it as another military base (and nuclear tipped at that) then its better for China to die with honor (implication being it will take US and much of Western world down with it) than to suffer the alternative of being enslaved again this time with permanent nuclear blackmail by US, and if China loses or gives up TW, its fair to say SCS will turn US as well, China wont even have a navy much less a blue water one that can get out to Pacific etc and BRI will be dismantled in a series of unequal and humiliating treaties... therefore under this analysis by your own metric of what constitutes unacceptable compromise, a loss of TW for China would be far more devastating than for the US who has never had a claim on it in the first place. Here loss by China means closing the civil war ambiguity etc in anything other than total victory, as surely you dont pretend that America ever had a rightful claim to the island.
China losing TW is precisely an order of magnitude greater existential threat to China than the US not being able to have it would be to the US.